{"action":"created","issue":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/1709","repository_url":"https://api.github.com/repos/rg3/youtube-dl","labels_url":"https://api.github.com/repos/rg3/youtube-dl/issues/1709/labels{/name}","comments_url":"https://api.github.com/repos/rg3/youtube-dl/issues/1709/comments","events_url":"https://api.github.com/repos/rg3/youtube-dl/issues/1709/events","html_url":"https://github.com/rg3/youtube-dl/issues/1709","id":22013035,"number":1709,"title":"Problems with automatically setting the video's mtime to the server's modification time","user":{"login":"epitron","id":16409,"avatar_url":"https://avatars0.githubusercontent.com/u/16409?v=4","gravatar_id":"","url":"https://api.github.com/users/epitron","html_url":"https://github.com/epitron","followers_url":"https://api.github.com/users/epitron/followers","following_url":"https://api.github.com/users/epitron/following{/other_user}","gists_url":"https://api.github.com/users/epitron/gists{/gist_id}","starred_url":"https://api.github.com/users/epitron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epitron/subscriptions","organizations_url":"https://api.github.com/users/epitron/orgs","repos_url":"https://api.github.com/users/epitron/repos","events_url":"https://api.github.com/users/epitron/events{/privacy}","received_events_url":"https://api.github.com/users/epitron/received_events","type":"User","site_admin":false},"labels":[{"id":55547,"url":"https://api.github.com/repos/rg3/youtube-dl/labels/request","name":"request","color":"165725","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2013-11-03T01:43:34Z","updated_at":"2018-03-29T20:58:55Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Youtube-DL recently changed its behaviour in a way that broke how I was using it. It used to set the `mtime` to when the file was downloaded; now it's set to when the file was uploaded to the video site.\n\nThis means that I can't sort my videos by download time anymore. It's problematic when you have a large download directory, or multiple collections, which you slowly process over time.\n\nThe only other downloader I've found with this default behaviour is `wget`. All the other downloaders -- browsers, torrent programs, curl, scp -- set the `mtime` to the time that you downloaded the file. (This is the [the definition of mtime](https://en.wikipedia.org/wiki/Mtime).)\n\nI can see how people would want to save the video creation date. Luckily, there's a pull request in the pipeline (#1708) that writes this information -- _and more_ -- to the file's xattrs.\n\nSo, you can have it all: files sorted by download date, and their creation date!\n\nHow 'bout it?\n"},"comment":{"url":"https://api.github.com/repos/rg3/youtube-dl/issues/comments/377370202","html_url":"https://github.com/rg3/youtube-dl/issues/1709#issuecomment-377370202","issue_url":"https://api.github.com/repos/rg3/youtube-dl/issues/1709","id":377370202,"user":{"login":"graywolf","id":790463,"avatar_url":"https://avatars3.githubusercontent.com/u/790463?v=4","gravatar_id":"","url":"https://api.github.com/users/graywolf","html_url":"https://github.com/graywolf","followers_url":"https://api.github.com/users/graywolf/followers","following_url":"https://api.github.com/users/graywolf/following{/other_user}","gists_url":"https://api.github.com/users/graywolf/gists{/gist_id}","starred_url":"https://api.github.com/users/graywolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graywolf/subscriptions","organizations_url":"https://api.github.com/users/graywolf/orgs","repos_url":"https://api.github.com/users/graywolf/repos","events_url":"https://api.github.com/users/graywolf/events{/privacy}","received_events_url":"https://api.github.com/users/graywolf/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T20:58:01Z","updated_at":"2018-03-29T20:58:55Z","author_association":"NONE","body":"I'm not sure if you are counting votes or anything, but `+1` for this. I've just out of habit tried `ls -rtl` to find the downloaded video from youtube and was bit confused it was nowhere to be find.\r\n\r\nWhile `--mtime` could be possible handy, I think vast majority of people would expect `--no-mtime` to be the default, same way as other downloaders work.\r\n\r\nBut that's just, like, my opinion `^_^`"}}
{"actor":{"display_login":"graywolf"}}