Metadata
Version: 5.0.0
OS: Arch Linux
Shell: bash
Anime: Any containing special characters such as :
Describe the bug
When downloading any file, it seems that the filename to write is not sanitized properly, which can lead to it being rejected by ffmpeg.
The example below shows it rejecting files with : but there may be more possible.
Steps To Reproduce
- Run
ani-cli --download
- Search for show (this example shows gup)
- Choose any of the options containing a
: character.
Expected behavior
Should download properly.
Actual behavior
ffmpeg command fails to download because it seems to reject filenames with special characters.
$ ani-cli --download
Checking dependencies...
anidb.app links fetched
[out#0/mp4 @ 0x55c272c060c0] Error opening output ./Girls & Panzer: Saishuushou Part 3 Episode 1.mp4: Invalid argument
Error opening output file ./Girls & Panzer: Saishuushou Part 3 Episode 1.mp4.
Error opening output files: Invalid argument
Metadata
Version: 5.0.0
OS: Arch Linux
Shell: bash
Anime: Any containing special characters such as
:Describe the bug
When downloading any file, it seems that the filename to write is not sanitized properly, which can lead to it being rejected by ffmpeg.
The example below shows it rejecting files with
:but there may be more possible.Steps To Reproduce
ani-cli --download:character.Expected behavior
Should download properly.
Actual behavior
ffmpegcommand fails to download because it seems to reject filenames with special characters.$ ani-cli --download Checking dependencies... anidb.app links fetched [out#0/mp4 @ 0x55c272c060c0] Error opening output ./Girls & Panzer: Saishuushou Part 3 Episode 1.mp4: Invalid argument Error opening output file ./Girls & Panzer: Saishuushou Part 3 Episode 1.mp4. Error opening output files: Invalid argument