mhogomchungu / media-downloader

Media Downloader is a Qt/C++ front end to yt-dlp, youtube-dl, gallery-dl, lux, you-get, svtplay-dl, aria2c, wget and safari books..
GNU General Public License v2.0
1.35k stars 104 forks source link

file names do not correctly in the playlist title. sign // #230

Closed candrapersada closed 1 year ago

candrapersada commented 1 year ago

in terminal or Command Prompt gambar in media-downloader gambar gambar https://www.youtube.com/playlist?list=PLQqD_z157-ZhNbzisySgP_zMNUOrJJXKH gambar

mhogomchungu commented 1 year ago

Can you post a screenshot of Media Downloader? It seems to be working fine here and my screenshot is below.

Go to "Configure->general options" and then put "utf8" in the "text encoding" text fields and try again.

Screenshot_20221124_152945

candrapersada commented 1 year ago

gambar -o "%(uploader)s/%(playlist)s/%(playlist_index)s- %(title)s.%(ext)s"

mhogomchungu commented 1 year ago

So it works now after you added the "utf8" option?

I do not see the problem in your latest screenshot.

candrapersada commented 1 year ago

the problem is that the download folder in the playlist title is incomplete as shown in this image %(playlist)s/%(title)s.%(ext)s image image

mhogomchungu commented 1 year ago

So the problem here is that "title" has "//" characters sand yt-dlp+Media Downloader treats them as a folder path while yt-dlp when used alone does not.

edit, the bug is here.

candrapersada commented 1 year ago

yes for %(playlist_title)s and %(playlist)s

mhogomchungu commented 1 year ago

Fixed.

The solution is to use --parse-metadata yt-dlp option and to do the replacement by using something like --parse-metadata 【アニメ】 .hack//G.U.:%(playlist_title)s to properly set playlist_title, Screenshot_20221130_172929