thehylia icon indicating copy to clipboard operation
thehylia copied to clipboard

Stream option

Open RaitaroH opened this issue 6 years ago • 2 comments

So youtube-dl has a -g option:

       -g, --get-url
	      Simulate, quiet but print URL

I was wondering if you can implement this. So basically the point is to pipe into some player in order to stream without having to download anything.

RaitaroH avatar Jul 05 '18 07:07 RaitaroH

So for khinsider.py and thehylia.py, you would expect this option to output a newline-separated list of the direct links to all the files in the soundtrack? Would that be useful?

obskyr avatar Jul 06 '18 00:07 obskyr

So basically the point is to pipe into some player in order to stream without having to download anything.

Yes it is useful. I sometimes like to take a youtube playlist, convert it into a playlist (m3u file) and I can easily have play/pause functionality for it. I can even take it with me on the go etc etc.

In the case of your script is just to listen to the songs without having to download, or even go to the site at all. Ideally I would use fzf, choose something, and it will start playing.

RaitaroH avatar Jul 06 '18 04:07 RaitaroH