{"action":"created","issue":{"url":"https://api.github.com/repos/aajanki/yle-dl/issues/74","labels_url":"https://api.github.com/repos/aajanki/yle-dl/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/aajanki/yle-dl/issues/74/comments","events_url":"https://api.github.com/repos/aajanki/yle-dl/issues/74/events","html_url":"https://github.com/aajanki/yle-dl/issues/74","id":125358642,"number":74,"title":"wishlist","user":{"login":"gunnar12","id":16590355,"avatar_url":"https://avatars.githubusercontent.com/u/16590355?v=3","gravatar_id":"","url":"https://api.github.com/users/gunnar12","html_url":"https://github.com/gunnar12","followers_url":"https://api.github.com/users/gunnar12/followers","following_url":"https://api.github.com/users/gunnar12/following{/other_user}","gists_url":"https://api.github.com/users/gunnar12/gists{/gist_id}","starred_url":"https://api.github.com/users/gunnar12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunnar12/subscriptions","organizations_url":"https://api.github.com/users/gunnar12/orgs","repos_url":"https://api.github.com/users/gunnar12/repos","events_url":"https://api.github.com/users/gunnar12/events{/privacy}","received_events_url":"https://api.github.com/users/gunnar12/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-07T09:39:00Z","updated_at":"2016-01-07T09:43:29Z","closed_at":null,"body":"Been using yle-dl for years, downloaded probably abt 15TByte, I dont even have a TV anymore. THANKS!\r\n\r\nHowever, I always have to make similar simple additions to new versions\r\n1. In addition to --destdir a  --checkdir argument, for yle-dl to check if the file alrdy exists there\r\n2. Lately it takes a list of checkdirs, or better, from a textfile\r\n4. --ask, asks user with time-limited y/n, default no, also beeps,  if it shld download it again,etc\r\n.  (prints size,etc of duplicate as info for user, forced overwrite if size un-normal small, 10-30kB)\r\n5. grabs,prints DURATION from program_info, also helps a lot (to avoid truncated dlds)\r\n\r\n6 The final goal,  check if the already existing file is \"fully downloaded\" by reading last time-stamps, compare it to YLE given duration\r\n(ref rtmpdumps --e continue function, which doesnt wrk very well anyway)\r\n7 command argument for (pre and) post-download program, might be an archiver, log thing, or defrag of the present file, any own \"little helper program\"\r\n8 small one, if input is a text-file, open it to read a list of links to download.\r\n(easy to drag-drop frm Areena to that file)\r\n\r\nBtw, fragmentation (windws) huge problem as both rtmpdump, HDS write single packets to disk, easily giving 10k fragments/file. Solution, Running ultradefrag (with waitque) or similar on file, or moving the file somwhere else.(diff partition, need that checkdir here too)\r\n\r\nbtw,btw I also put the files in \"their own sub-directory\" using the first 4 chars of their name and checkdir checks for that too.\r\n\r\nGunnar\r\n\r\nPS as needed in HDS too, retry failed getURL attempts a cpl of times before giving up"},"comment":{"url":"https://api.github.com/repos/aajanki/yle-dl/issues/comments/169611389","html_url":"https://github.com/aajanki/yle-dl/issues/74#issuecomment-169611389","issue_url":"https://api.github.com/repos/aajanki/yle-dl/issues/74","id":169611389,"user":{"login":"gunnar12","id":16590355,"avatar_url":"https://avatars.githubusercontent.com/u/16590355?v=3","gravatar_id":"","url":"https://api.github.com/users/gunnar12","html_url":"https://github.com/gunnar12","followers_url":"https://api.github.com/users/gunnar12/followers","following_url":"https://api.github.com/users/gunnar12/following{/other_user}","gists_url":"https://api.github.com/users/gunnar12/gists{/gist_id}","starred_url":"https://api.github.com/users/gunnar12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunnar12/subscriptions","organizations_url":"https://api.github.com/users/gunnar12/orgs","repos_url":"https://api.github.com/users/gunnar12/repos","events_url":"https://api.github.com/users/gunnar12/events{/privacy}","received_events_url":"https://api.github.com/users/gunnar12/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T09:43:29Z","updated_at":"2016-01-07T09:43:29Z","body":"PPS the cross-platform BEEP cld be done with --beep argument to a helper-beep program, as the  --pre and --post command"}}