Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File path problems #7

Open
qRdlvNqWw2Z1zTmj opened this issue Sep 10, 2019 · 1 comment
Open

File path problems #7

qRdlvNqWw2Z1zTmj opened this issue Sep 10, 2019 · 1 comment

Comments

@qRdlvNqWw2Z1zTmj
Copy link

qRdlvNqWw2Z1zTmj commented Sep 10, 2019

I want to remove all 'Uploads from' that precede the google drive folder name. what should I do?

@bardisty
Copy link
Owner

Hi @abcd167943, it sounds like you removed the --restrict-filenames option for youtube-dl?

ytdlrc/ytdlrc

Line 220 in 63667ba

--restrict-filenames \

If so, in order for ytdlrc to trim off that Uploads from string, you'll need to edit line 540:

ytdlrc/ytdlrc

Line 540 in 63667ba

string_to_trim="Uploads_from_"

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant