bryan3301 2 Posted January 14 Share Posted January 14 I have been on a quest to get my IPTV provider's VOD content (TV Series and Movies) to properly show under Emby recordings. I can do this by creating the necessary folder structure and STRM files. I have validated this with a couple series manually. My goal is to automate this so it runs daily. I run Emby on Linux. I have found various solutions but none have worked for me as they likely require modification and the authors seemed to have abandoned their respective projects. I ran across this utility that seems nearly what I need: https://github.com/h0me5k1n/iptv-strmmaker Here is the workflow I need: Download the MEU file. Parse the M3U file and identify VOD TV Series and VOD Movies. Check if the VOD TV Series and VOD Movies are already have folders and STRM files, and skip if so. Check for and remove any "stale" folders and STRM files that may exist for content no longer available. For creating folder structures and content; here is what I would like: Series Show Title Season STRM File per Episode Movies Movie Title STRM File foe Movie Here is how the content appears in my M3U file. #EXTINF:-1,Mad Men S01E01 http:/xxxxx.com:80/series/yyyyy/zzzzz/NNNNN.mkv #EXTINF:-1,Mad Men S01E02 http://xxxxx.com:80/series/yyyyy/zzzzz/NNNNN.mkv #EXTINF:-1,30 Miles from Nowhere (2018) http://xxxxx:80/movie/yyyyy/zzzzz/NNNNN.mp4 I am an systems engineer; however, not a programmer/scripter. I am hoping someone more knowledgeable than I can help me make this work. My plan is to then runt he script daily via a cron job. Thank you so much in advance! Link to comment Share on other sites More sharing options...
grimevil 54 Posted January 15 Share Posted January 15 Hi, Can you not use:- This does what you are looking to do I believe? Link to comment Share on other sites More sharing options...
bryan3301 2 Posted January 15 Author Share Posted January 15 I could use some help giving it a try. Here is the error when I try to run it. I entered my M3U URL in the main.py file (ipttvurl = 'http://xxxxxxx.xxx:80/playlist/yyyyy/zzzzz/m3u' ). I only have a single URL for all live TV, Series, and Movies. I do not see a place in the main.py to enter a movie URL. Also, I see references to apollo throughput this tool and I do not have apollo. Does that matter? $ python3 ./main.py Traceback (most recent call last): File "/mnt/video/utils/m3u2strm/m3u2strm-nextgen/./main.py", line 13, in <module> print(wget.download(iptmovieurl, ('m3u/iptmovies.m3u'))) #if not downloading comment out this line. ^^^^^^^^^^^ NameError: name 'iptmovieurl' is not defined I REALLY appreciate your help! Link to comment Share on other sites More sharing options...
grimevil 54 Posted January 16 Share Posted January 16 sent you a pm Link to comment Share on other sites More sharing options...
bryan3301 2 Posted January 16 Author Share Posted January 16 @grimevilThank you! Response is in your inbox. Much appreciated! 1 Link to comment Share on other sites More sharing options...
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