-
Notifications
You must be signed in to change notification settings - Fork 29
Module: YouTube
Ant edited this page Jul 3, 2026
·
15 revisions
The YouTube module browses channels you list yourself and plays videos through mpv. No account or sign-in is needed.
Two things are required to use it:
-
Install yt-dlp (mpv uses it to resolve YouTube URLs at playback time):
- Raspberry Pi:
sudo apt install yt-dlp - macOS:
brew install yt-dlp
- Raspberry Pi:
-
Create
youtube_subscriptions.txtin the 240-MP data directory:- Raspberry Pi:
~/.local/share/240-MP/youtube_subscriptions.txt - macOS:
~/Library/Application Support/240-MP/youtube_subscriptions.txt
Add one channel ID per line. Blank lines and lines starting with
#are ignored:# my channels UC-2YHgc363EdcusLIBbgxzg UCgRaK4A7yi4ZELCLUjdP_pg UC3IYhdamzjvEJ9CwkQa4RAwA channel's ID is in the URL of its channel page (
youtube.com/channel/<ID>). If the page shows a@handleURL instead, view page source and search for"channelId", or use any handle-to-ID lookup tool. - Raspberry Pi: