Jump to content

Parsing Python Script


ghaugabrook
Go to solution Solved by Carlo,

Recommended Posts

ghaugabrook

Hello Emby Community,

I'm using m3u2strm python script to parse my m3u. I have it setup with windows scheduler as well. This issue I'm having with one of my tv series m3u is the process is breaking at the show "#Black". I know # tells python to comment out. How can I get around this issue or ignore it during the parsing process without having to manually edit the m3u myself? The scheduler is set to run every night at midnight, so the m3u is downloaded every night and updates back to the "#Black". I need a way to either edit or ignore during the automated download and parsing process. Thanks in advance for all help or suggestions.

https://drive.google.com/drive/folders/1JLqn_Ix7fnHSQscW8LhIuoh8qn2i5ZI2?usp=sharing

Edited by ghaugabrook
Link to comment
Share on other sites

  • Solution

Hi, save your original file and then try replacing it with this file.

Let me know if it works now.

 

streamClasses.py

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...