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

Extra surrounding quotes being added to most file names - any way to suppress? #9895

Closed
SanjeevKSharma opened this issue Jun 25, 2016 · 2 comments
Labels

Comments

@SanjeevKSharma
Copy link

@SanjeevKSharma SanjeevKSharma commented Jun 25, 2016

this is in the config

--output %(uploader_id)s.%(upload_date)s.%(title)s.%(id)s.%(ext)s

youtube-dl 'https://www.youtube.com/watch?v=xcXwxXL9o3M'

'LeagueOfNerdsPodcast.20160612.Consumed Review -TLoNs Podcast #132.xcXwxXL9o3M.f136.mp4.part'

That's not too bad but then I'm getting file names with multiple escaped quotes (the ''' thing below, slightly different output config); --output %(upload_date)s.%(title)s.%(id)s.%(ext)s

'20160509.MEET DAVID SILVERMAN, REASON RALLY, AMERICAN ATHEISTS PREZ, BILLBOARD GUY, '''TIDES GO IN''' MEME MAN!.soOtYMSZ5iU.mkv'

another complication - with this in the config
--output %(title)s.%(ext)s/%(title)s.%(ext)s

youtube-dl 'https://www.youtube.com/watch?v=xcXwxXL9o3M'

the directory also ends up with the all-enclosing quotes
ls -xR
.:
'Consumed Review -TLoNs Podcast #132.mp4'

'./Consumed Review -TLoNs Podcast #132.mp4':
'Consumed Review -TLoNs Podcast #132.f136.mp4.part'

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 25, 2016

Carefully read new issue template and provide all requested information.

@dstftw dstftw closed this Jun 25, 2016
@SanjeevKSharma
Copy link
Author

@SanjeevKSharma SanjeevKSharma commented Jun 25, 2016

APOLOGIES, this is caused by the upgrade to Fedora 24 & new defaults for Gnu ls -

they changed the defaults to add quotes when printing to a TERM if there are some special characters or ambiguities in the name

@dstftw dstftw added the incomplete label Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.