silence48 / m3u2strm

convert m3u files to strm files with the folder structure needed to use them in emby.
MIT License
18 stars 21 forks source link

Error #2

Open mosood opened 3 years ago

mosood commented 3 years ago

languagematch = re.compile('[|][A-Z][A-Z][|]', re.IGNORECASE).search(line) TypeError: expected string or bytes-like object

i keep getting this error. Please help

silence48 commented 3 years ago

Can you post a sample of the m3u you are trying to parse, I will check it... please sanitize all links

mosood commented 3 years ago

The issue is m3u file has an entry with #Alive and the scripts stops as it cant do something with this entry. If i remove # and re-run it works file. I was wondering if thr was way to skip an entry like this and move to next record? movies.zip