You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The playlist title is "A/B" and the video title is "C/D", so I expect the name of the output file to be "A/B_C/D" in the download directory.
Actual behaviour
A file with name "B_C/D" is created in a subdirectory named "A". So apparently the slash is interpreted as directory symbol, however only in the playlist title and not the video title.
Other info
I created the following python script and ran it in the same docker container:
Here, the problem does not happen and the result is according to the expected behavour.
When using option restrictfilenames, the directory A is still created and the file is called "B_C_D". (With the script: No directory and file name "A_B_C_D").
The text was updated successfully, but these errors were encountered:
@PikuZheng In your screenshot the "M/V" and "C/D" are part of %(title)s, this works. However it does not work for %(playlist_title)s, which I can not see in your screenshot.
How to reproduce:
OUTPUT_TEMPLATE
to%(playlist_title)s_%(title)s.%(ext)s
or similarExpected behaviour
The playlist title is "A/B" and the video title is "C/D", so I expect the name of the output file to be "A/B_C/D" in the download directory.
Actual behaviour
A file with name "B_C/D" is created in a subdirectory named "A". So apparently the slash is interpreted as directory symbol, however only in the playlist title and not the video title.
Other info
I created the following python script and ran it in the same docker container:
Here, the problem does not happen and the result is according to the expected behavour.
When using option
restrictfilenames
, the directory A is still created and the file is called "B_C_D". (With the script: No directory and file name "A_B_C_D").The text was updated successfully, but these errors were encountered: