4 ms·
I wrote something similar 9 months ago (just relying on VLC functionalities + youtube-dl + avahi) and I have been using it since then (but less elegant): https:
by frafra 6y ago
I wrote something similar 9 months ago (just relying on VLC functionalities + youtube-dl + avahi) and I have been using it since then (but less elegant): https://gist.github.com/frafra/9f5770c6af6e4dcdf91ba815225e5e65 https://gist.github.com/frafra/9f5770c6af6e4dcdf91ba815225e5...
The main problem I have is that it is not possible to easily resume the stream when youtube-dl stops working and you use a pipe or mkfifo. It would be cool to be able to rerun the program again and continue from where it left, but some streams are not seekable, so you would need to restart the software automatically, consume or skip the first part and start adding the new content at the end of the FIFO device.