Re:Show HN: Download any song without knowing its name
by mintplant on Thursday October 08, 2015 @03:53PM
(#10355633)
I think the best part of youtube-dl is its support for bulk downloads. Point it at a YouTube account or playlist, a podcast on SoundCloud, or even, if you can live with yourself, an album on Bandcamp, and it will snarf up every piece of media it can find.
Re:Show HN: Download any song without knowing its name
by exogen on Thursday October 08, 2015 @06:43PM
(#10356886)
Some pro trips: by default it searches YouTube for the argument you give it, but if given a URL, youtube-dl will always use that instead. So `play <bandcamp URL>`, `mp3 <SoundCloud URL>` will work.
If the first result for your search isn't the song you want, I usually append "hq", "hd", or "album version".
Re:Show HN: Download any song without knowing its name
by Guillaume86 on Friday October 09, 2015 @05:24AM
(#10358969)
Nice! Works fine on windows with gitbash except for the --exec part, I tried to use the "start" command but it doesn't like the single quote around the path, someone has an idea to workaround that?
Re:Show HN: Download any song without knowing its name
by Hello71 on Thursday October 08, 2015 @09:55PM
(#10357673)
1. "function" is non-standard useless syntax
2. mpv now knows how to automatically spawn youtube-dl, fetch the URL, and stream it given a YouTube argument.
Re:Show HN: Download any song without knowing its name
by exogen on Thursday October 08, 2015 @10:09PM
(#10357725)
per (1), these are my dotfiles and I use Bash exclusively, ergo, I use the syntax I consider better (because you can easily search for "function" and not the standard syntax with no keyword).
Re:Show HN: Download any song without knowing its name
by exogen on Thursday October 08, 2015 @09:58PM
(#10357679)
I don't want to give it a YouTube URL though – with this I can type `play pixies debaser`.
Re:Show HN: Download any song without knowing its name
by mccracken on Thursday October 08, 2015 @09:40PM
(#10357618)
I get:
youtube-dl: error: no such option: --youtube-skip-dash-manifest
As an error, am I missing something?
Re:Show HN: Download any song without knowing its name
by exogen on Thursday October 08, 2015 @09:50PM
(#10357654)
An outdated version of youtube-dl, is all I can think of – run `youtube-dl -U`.
Re:Show HN: Download any song without knowing its name
by zuck9 on Thursday October 08, 2015 @10:50PM
(#10357870)
A command that you can run almost every day and still get new updates because of the ridiculously fast release cycle.
Re:Show HN: Download any song without knowing its name
by mccracken on Thursday October 08, 2015 @11:31PM
(#10358002)
Absolute champion
Re:Show HN: Download any song without knowing its name
by archimedespi on Thursday October 08, 2015 @06:30PM
(#10356821)
Nice! Added to my dotfiles :)
`play` will instantly play any song (great for parties), and `mp3` will download it: https://github.com/exogen/dotfiles/blob/730fb8e2b72b2fc3aa3d...