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

Converted MP3 modified date and created date. #10112

Closed
jx2014 opened this issue Jul 17, 2016 · 1 comment
Closed

Converted MP3 modified date and created date. #10112

jx2014 opened this issue Jul 17, 2016 · 1 comment

Comments

@jx2014
Copy link

@jx2014 jx2014 commented Jul 17, 2016

I downloaded a play list and convert it to MP3 using this command line:

time youtube-dl -ci --playlist-start=1 --playlist-end=-1 -x --audio-format mp3 https://www.youtube.com/playlist?list=someplaylist -o "%(title)s.%(playlist_index)s" | tee log.log

All is well, except the mp3 files' "Date Modified" and "Date Created" is the date when the media was uploaded to the server. How do I make the timestamp for at least "Date Created" to be the date the mp3 file was actually created?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jul 18, 2016

--no-mtime should work.

--no-mtime          Do not use the Last-modified header to set the file modification time
@yan12125 yan12125 closed this Jul 18, 2016
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.