Today I learned: mpv for online video streaming

An easy way to control video playback

Today I learned how to use Youtube without ever logging in to the site. This is a combination of subscribing to channels via RSS and then using mpv (with youtube-dl dependency) to stream the content locally.

Here is how it works.

First subscribe to your favourite channel via RSS. You need to retrieve the channel’s id or username, which you will implement in the corresponding url template:

# Templates

# Example with my channel's actual url (last part is the id)

# Example with my channel's RSS feed

Now you are good to go. When you receive an update in your RSS reader, copy the link, open a terminal and execute the following:

# Template
mpv link-to-video

# Example with my latest seminar

My RSS reader is newsboat which makes things even better, as I remain close to the command line.

Anyway, using mpv to stream videos is a solid method to degoogle part of your online activity without losing out on some valuable content. I strongly recommend checking out man mpv and the relevant Arch wiki entry for cool ways to optimise your experience.