diff options
author | 2017-11-28 13:37:50 -0400 | |
---|---|---|
committer | 2017-11-28 13:37:50 -0400 | |
commit | 6edfba9a7514432e5168d62d7550af7432ce2475 (patch) | |
tree | 5aeb465742963cdaa95a1577903232125d1ba6bf /doc/todo | |
parent | 42e93faffee603749960f91c1a6d574b1ebf2ed0 (diff) |
size checking
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/switch_from_quvi_to_youtube-dl.mdwn | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/todo/switch_from_quvi_to_youtube-dl.mdwn b/doc/todo/switch_from_quvi_to_youtube-dl.mdwn index 145d61a33..aa2f6955d 100644 --- a/doc/todo/switch_from_quvi_to_youtube-dl.mdwn +++ b/doc/todo/switch_from_quvi_to_youtube-dl.mdwn @@ -50,3 +50,10 @@ And --get-filename does not report the actual filename when that happens. This seems to be due to format merging by ffmpeg; with -f best, it does not merge and so does not do that. <https://github.com/rg3/youtube-dl/issues/14864> + +To do disk free space checking will need a different technique than +git-annex normally uses, because youtube-dl does not provide an easy way to +query for size. Could use --dump-json, but that would require downloading +the web page yet again, so too expensive.. and, the json seems to have +"filesize: null" for youtube videos. What does work is the --max-filesize +option, which makes youtube-dl abort if it's too big. |