ytdlrc
ytdlrc copied to clipboard
File path problems
I want to remove all 'Uploads from' that precede the google drive folder name. what should I do?
Hi @abcd167943, it sounds like you removed the --restrict-filenames
option for youtube-dl
?
https://github.com/bardisty/ytdlrc/blob/63667baff8c8a9b05d4233fa42f4d1292b303be6/ytdlrc#L220
If so, in order for ytdlrc
to trim off that Uploads from
string, you'll need to edit line 540:
https://github.com/bardisty/ytdlrc/blob/63667baff8c8a9b05d4233fa42f4d1292b303be6/ytdlrc#L540
Change that to:
string_to_trim="Uploads from "
As for your current google drive folders, you'll just have to rename them manually before executing ytdlrc
with the changes above.