Skip to content

Youtube playback

Rmpc can play videos from youtube, but needs a little setup before it can do that. Only single songs can be added at a time.

  1. Install yt-dlp and have it available in your PATH.
  2. Install yt-dlp’s dependencies: ffmpeg, ffprobe, python3 and python’s mutagen library.
  3. Configure rmpc’s cache directory in your config file
  4. Connect to MPD with a local socket and not IP address.
  5. Execute rmpc addyt <youtube-url> or in tui addyt <youtube-url> to add a song to the queue.

Example

mpd.conf
1
bind_to_address "/tmp/mpd_socket"
rmpc/config.ron
1
(
2
address: "/tmp/mpd_socket",
3
cache_dir: Some("/tmp/rmpc/cache"),
4
...
5
)