1 |
Simon Thelen wrote: |
2 |
> [2020-07-15 17:30] Dale <rdalek1967@×××××.com> |
3 |
>> Howdy, |
4 |
> Hi, |
5 |
> |
6 |
>> I'm not sure what causes this because it doesn't always do this. When I |
7 |
>> use youtube-dl to download videos, it sometimes uses the current date and |
8 |
>> time for the time stamp. I like that because I can sort by date and see |
9 |
>> new videos. On some sites tho it seems to use the time stamp of the file |
10 |
>> on the server I am downloading from not when it was put on my system. |
11 |
>> Sometimes I download a video and it may have a time stamp of years ago, |
12 |
>> decades sometimes. I looked through the help page but can't find a option |
13 |
>> to tell it to use local time instead of the time from the remote server |
14 |
>> file. Needless to say, when it does this, I can't tell which videos I |
15 |
>> recently downloaded since sorting by time stamps is no longer accurate. |
16 |
>> It's annoying. |
17 |
>> |
18 |
>> Has anyone else noticed this behavior? Is there a way to tell it to stop |
19 |
>> setting it to really old time stamps? Some option that isn't documented |
20 |
>> maybe. |
21 |
> You're probably looking for the --no-mtime option. Depending on what |
22 |
> you're using to sort your local videos you can always just tell it to |
23 |
> sort by ctime instead of the (probably) default mtime. Several other |
24 |
> file download programs set the mtime to the last-modified header or |
25 |
> similar, but they tend not to touch the ctime. |
26 |
> |
27 |
|
28 |
|
29 |
This ended up being the best solution. It seems to work well. Sort of |
30 |
odd in a way but as long as I can sort by the order I downloaded files, |
31 |
I don't care how strange it is. lol |
32 |
|
33 |
Thanks. |
34 |
|
35 |
Dale |
36 |
|
37 |
:-) :-) |