YTMusic — a YouTube Music plugin for the Lyrion Music Server (LMS) add-on

YTMusic is a plugin for Lyrion Music Server (LMS) that integrates YouTube Music into your multiroom setup — browsing, search, playlists, recommendations, liked songs, Radio, and Don’t Stop The Music, with automatic loudness normalization (ReplayGain) and Home Assistant CLI integration. It runs on LMS installed as a Home Assistant add-on on x86-64 hardware.

Why this was born

For a while I used the Deezer add-on for Lyrion Music Server. Users rave about Deezer’s recommendations, and honestly — they’re not wrong. But after a while, it just started feeling stale.

So I tried switching to Music Assistant. It’s loaded with features — recommendations, smart lists, a whole ecosystem of integrations. A real Swiss Army knife. Maybe a little too much of one.

I’m not sure if it was my hardware or just too much complexity for its own good, but something always seemed to break: multiroom sync would drift apart, players would disconnect and freeze (requiring a hard restart to fix), notifications showed up sometimes and not others, and moving a playlist between speakers when switching rooms — instead of a simple “turn one off, turn the other on” — often turned into its own little adventure.

And all I wanted was to listen to some music. :sweat_smile:
I decided that I had enough of this fun and went back to the rock-solid LMS!

YouTube’s music catalog is genuinely unmatched — years of data from billions of users have fed its recommendation algorithms extremely well. Combined with liked tracks and a dedicated “Music” endpoint (not “Video”), it works surprisingly well.

Just hit play on something from your liked songs or recommendations, and Don’t Stop The Music plus automatic loudness normalization (ReplayGain) take care of the rest. For once, I can actually pick something and just listen for hours — without ever touching the UI again.

Screenshots

Getting started

Source code, installation instructions, and feature list are in the repo:
:backhand_index_pointing_right: GitHub - Controli-pl/lms-ytmusic · GitHub

If you have any reasonable feedback or requests, feel free to reach out — I’ll try to help (though my free time varies :sweat_smile:).

1 Like

Update 16.08.2026

ReplayGain no longer uses quick/prefetch/deep-analysis against YouTube. Gain is measured once as a side effect of real playback (ebur128 on already-fetched audio), with a configurable analysis scope and a volume-gated temporary default for first plays; the old min-volume setting no longer means “don’t calculate.”