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

feature that changed file date to upload date seems to no longer work #536

Open
rifter opened this issue Nov 15, 2012 · 1 comment
Open

feature that changed file date to upload date seems to no longer work #536

rifter opened this issue Nov 15, 2012 · 1 comment

Comments

@rifter
Copy link

@rifter rifter commented Nov 15, 2012

For the longest time, youtube-dl had this feature.. it would take the date and time that the video was uploaded and change the file date to that date. It seems like that no longer happens by default, and I cannot find where to explicitly make it happen. Instead the date and time seem to be when I downloaded the video. I had been downloading videos from this channel: https://www.youtube.com/user/TheYoungTurks/videos and then using ls -rt to build a playlist so I could watch them in order. Because I download in a couple of processes at once, it ends up that the order is mucked up. These are the options I use (I wrote a script to preserve them:
./youtube-dl -R 5 -i -n -c --write-srt -o "%(uploader)s-%(stitle)s-%(id)s.%(ext)s" "$vid"

I actually just added --write-srt tonight because I saw it while looking for this option. Before this I did not use it.
Does it maybe have a different effect if the video was uploaded on the same day but different times? if so is there a way to make the upload date include a time in some way so I can order things differently?

@rifter
Copy link
Author

@rifter rifter commented Nov 15, 2012

I'm using ext4 if that matters. I had used reiserfs4 I think before, but ext4 gave me way better performance.

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
1 participant
You can’t perform that action at this time.