ghaugabrook 15 Posted July 12, 2021 Posted July 12, 2021 (edited) 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 July 12, 2021 by ghaugabrook
Solution Carlo 4478 Posted July 12, 2021 Solution Posted July 12, 2021 Hi, save your original file and then try replacing it with this file. Let me know if it works now. streamClasses.py 1
ghaugabrook 15 Posted July 12, 2021 Author Posted July 12, 2021 Thanks, I'll try it later this evening after work. 1
ghaugabrook 15 Posted July 12, 2021 Author Posted July 12, 2021 I switched out the script provided by Cayars and there is no more character issues. This script will run as stated without issue. Enjoy the tutorial. https://drive.google.com/drive/folders/1JLqn_Ix7fnHSQscW8LhIuoh8qn2i5ZI2?usp=sharing 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now