I am using iptv.recorder version 0.0.73 on Linux.
When trying to record a program with a '/' character in the program name it fails because the slash is a directory separator in Linux.
For example if the program name is "Team1 / Team2 - SPORTS2 - 2018-09-29 18-00"ffmpeg will think the "Team1 " part is a directory and will fail to save the file:
/tmp/Team1 / Team2 - SPORTS2 - 2018-09-29 18-00.ts: No such file or directory
I tried to use the filename.urlencode to true but the urllib.quote does not convert the '/' character.
I made a commit to replace the '/' character with %2F in all cases, please review and merge.
I am using iptv.recorder version 0.0.73 on Linux. When trying to record a program with a '/' character in the program name it fails because the slash is a directory separator in Linux.
For example if the program name is "Team1 / Team2 - SPORTS2 - 2018-09-29 18-00" ffmpeg will think the "Team1 " part is a directory and will fail to save the file:
/tmp/Team1 / Team2 - SPORTS2 - 2018-09-29 18-00.ts: No such file or directory
I tried to use the filename.urlencode to true but the urllib.quote does not convert the '/' character.
I made a commit to replace the '/' character with %2F in all cases, please review and merge.