summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-12-31 12:35:52 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-12-31 12:35:52 -0400
commit185a02ce844c991e94ea9e334c7cdff736671063 (patch)
treeda6a3d0f307cbf56f9ba26f47068a51d421dd8c4
parentcd236abe91f9263a539f37f254a5bd53d846c355 (diff)
followup and open bug
-rw-r--r--doc/bugs/addurl_youtube-dl_behavior_change.mdwn17
-rw-r--r--doc/devblog/youtube-dl_day_3/comment_2_423d1896981b9d5de85c89fdcde2d1ab._comment18
2 files changed, 35 insertions, 0 deletions
diff --git a/doc/bugs/addurl_youtube-dl_behavior_change.mdwn b/doc/bugs/addurl_youtube-dl_behavior_change.mdwn
new file mode 100644
index 000000000..500ed6391
--- /dev/null
+++ b/doc/bugs/addurl_youtube-dl_behavior_change.mdwn
@@ -0,0 +1,17 @@
+I have often used a terminal window and prefixed my input with "git-annex
+addurl" then drag links to the window for pasting. Often, I have to press the
+up-arrow and run the command again. The addurl behavior with urls that are
+already locally present, quvi responds "ok." However, when repeating a command
+using yt-dl, when the url is already local, yt-dl refuses to overwrite, yet
+returns "failed." I didn't know if you were aware of this. This isn't a
+show-stopper, but just something I noticed. I generally do "addurl" manually.
+
+> I tried this, and it's not youtube-dl failing; but it re-downloads
+> the whole content of the already present file, and then git-annex fails:
+>
+> whatever.mp4 already exists; not overwriting
+>
+> So I think it needs to ask youtube-dl for the filename first, and check
+> if the local file already exists and already has the url, to get back to
+> the old behavior.
+> -- [[Joey]]
diff --git a/doc/devblog/youtube-dl_day_3/comment_2_423d1896981b9d5de85c89fdcde2d1ab._comment b/doc/devblog/youtube-dl_day_3/comment_2_423d1896981b9d5de85c89fdcde2d1ab._comment
new file mode 100644
index 000000000..8ab6065d1
--- /dev/null
+++ b/doc/devblog/youtube-dl_day_3/comment_2_423d1896981b9d5de85c89fdcde2d1ab._comment
@@ -0,0 +1,18 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 2"""
+ date="2017-12-31T16:25:07Z"
+ content="""
+It uses whatever youtube-dl you have in PATH.
+
+I was not aware of the changed behavior when adding an url that's already
+locally present. I've opened [[bugs/addurl_youtube-dl_behavior_change]]
+to remember to look into it.
+
+The reason it only downloads one video from a playlist or channel is that
+git-annex needs to associate an url with the annexed file, so it can later
+download that single file when git-annex get is used, and there's no clear
+way to associate an url with a particular file that youtube-dl downloaded
+from a playlist or channel or whatever. [[tips/downloading_podcasts]] has a
+way to use `git annex importfeed` with a youtube playlist though.
+"""]]