Home

now

wiki

about


My youtube setup

To get the most important parts out of the way, here's my newsboat config, using mpv and yt-dlp.

browser "links -g %u"
max-items 3000

macro v set browser "mpv --really-quiet --no-terminal --script-opts=ytdl_hook-ytdl_path=yt-dlp -- %u &" ; open-in-browser ; set browser "links -g %u"

The short version

TL;DR newsboat is nice to check in on and watch new videos from youtube channels I'm actually interested in, as opposed to videos the youtube gods think I'll be most likely to watch.

The long version

I've never really used instagram, twitter, facebook, snapchat, or most other social media platforms. I just never really felt like they were important or interesting, and so never got into them. I used reddit for a little while, but then left it as well. The fediverse has definitely filled some of those behavioral patterns (which I don't mind, I think it's a pretty cool place :3 ), but in terms of media consumption, my intake has been consistently dominated by (dum dum dummmmmm!) youtube :/

I've tried to stop my usage several times, and tried to reduce it many more through various strategies, but it's always been sorta my main media vice, and one which I've had a difficult time reducing my consumption of.

Over the past several months I've been doing a decent amount of my interaction with the small internet of blogs and webcomics through rss, and it's been great! I've got an rss reader app on my phone, but I hadn't got around to setting one up on my laptop until a couple days ago. I really like terminal user interfaces, so after some recomendations I decided to use newsboat!

Newsboat is lovely, and has a ton of really fun little features. One which is pretty interesting (and useful, getting back to the discussion about youtube) is the ability to open links in an arbitrary program.

Now to get newboat reading rss feeds from youtube, you need to get specific urls. Each channel has a unique id, something decently long and alphanumeric (this is not the channel name which often shows up in urls!). To add the channel to your feed reader, format the url like so: https://www.youtube.com/feeds/videos.xml?channel_id=${id}. For example, the url to the rss feed of Tested is https://www.youtube.com/feeds/videos.xml?channel_id=UCiDJtJKMICpb9B1qf7qjEOA

The last piece of this weird, specific, little puzzle is the program mpv. It'll play basically anything, has a truly amazing number of options to customize, and, very interestingly, can play videos from a link (including streams!!). To get the best performance with playing youtube links, I'd definitely recomend downloading yt-dlp as opposed to normal youtube-dl as it has more features and much better cacheing performance. For stand-alone usage with youtube, use the command mpv --script-opts=ytdl_hook-ytdl_path=yt-dlp $url.

Now what the starting config file mostly does is set up a macro for opening youtube links in mpv. It also sets links -g as the browser, because I like it :>

Now you should be able to add some youtube channels to newsboat, see when they post a new video, and watch it (if you think it'll be interesting based on the video description), all without going to youtube!

The long reason I've been enjoying this way of interacting with youtube is that it cuts out the middle man of the youtube recomendation algorithms. I know that there are only a few people who make videos I'll always like, but my stupid new-thing-seeking lizard brain really hasn't gotten the message, and youtube knows that! So while I retrain my brain to maybe not latch onto the nearest new thing for entertainment, removing youtube's manipulative algorithms from the equation should help.

Incoming:

thoughts