3 ms·
Y'all may be interested in my HNTV script: curl -s 'https://news.ycombinator.com/from?site=youtube.com' \ | egrep -o 'https?://www.youtube.com[^"]+' \ |
by surprisetalk 3y ago
Y'all may be interested in my HNTV script:
curl -s 'https://news.ycombinator.com/from?site=youtube.com' \
| egrep -o 'https?://www.youtube.com[^"]+' \
| mpv --playlist=- \
--speed=1.5 \
--ytdl-format='bestvideo[height<=?720]+bestaudio/best'
[1] https://taylor.town/hntv https://taylor.town/hntv
- tra3 3y agoIs there a YouTube API tool? Would love to create a YouTube playlist so that I can watch this on the TV.
- surprisetalk 3y agoI think you can stream stuff from VLC on the TV. My guess is that you could set up a proxy sort of thing to generate the stream on the fly. Alternatively, you could create a bot to throw every YouTube link posted to HN in a playlist, which you could open up in the YouTube app!
- yaj54 3y agoNice. Reminds me of a project I built a long time ago: https://yahnd.com/theater/?t=week https://yahnd.com/theater/?t=week. Makes me want to update it to have all the urls on the listing page so I can use your player technique on it. Or throw em in a yt playlist.