Skip to content
This page is for the development version of rmpc. Make sure your version matches the selected documentation.

Youtube playback

Rmpc can play videos from youtube, soundcloud and nicovideo, but needs a little setup before it can do that. Only single songs can be added at a time. For youtube, playlists are supported as well. Be careful though because executing addyt for a playlist will start downloading all contained songs, this action might take some time to finish and cannot be stopped except by terminating rmpc.

  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.
mpd.conf
bind_to_address "/tmp/mpd_socket"
rmpc/config.ron
(
address: "/tmp/mpd_socket",
cache_dir: Some("/tmp/rmpc/cache"),
...
)