2025-01-28, 08:37 PM
I created a similar project, no web ui just a docker image. I briefly looked over your code and am I to assume that if the file extension is absent from the provided m3u then this will not correctly parse the Movies and or series? I know a lot of providers do not put formats/files extensions. I see you're using ffmpeg/ffprobe to get video info, but it only seems to grab the duration and resolution, surely you could use this method to get the file extension as well? Also, how does using ffmpeg to get video info affect the speed of large m3us? I'd very curious to know as it may be something I'd like to implement into my project. I found that m3u are formatted very differently across providers and adjusting to accommodate this is a big hurdle in correctly parsing out movie/series titles. Currently I use a bunch of regex to determine stream types and titles, but I've though about using something like this, and I'd be interested to know what are your thoughts? https://pypi.org/project/guessit/