Subsonic integration as media player

One more bump

Itā€™s been six years so Iā€™m not exactly hopeful butā€¦ bump!

1 Like

Would love this too. bump

Seeing as bumping this for six years hasnā€™t been enough to make it happen, Iā€™m wondering: how might we be able to attract a developerā€™s attention to this project?

Should we start a bounty? Post a request for help in specific communities like the Fediverse?

I know weā€™re talking about unpaid development work; so much of the open-source ecosystem runs on peopleā€™s goodwill and spare time, and I donā€™t mean to imply that developing and maintaining this integration would be easy. Still, I wonder what the right Bat-Signal could be.

2 Likes

Iā€™d start with the project definition, as in: what people expect to get out of the ā€œsubsonic integrationā€, and what other integrations can be used as a reference.

Most of the Subsonic API is devoted to media library management and streaming/downloads of the media from a subsonic-compliant server, which is a natural fit for a Media Source, not Player, in Home assistant terms. Like Local media or DLNA Server, this would show up in the Media section of the UI, letting individual tracks to be played via other compatible Media Players. I personally donā€™t see a use for this, as Home assistant media-related UI is very basic.

It would probably be more interesting to use another client as primary UI, and allow home assistant to control it (e.g. pause/resume). In the Subsonic API something like this is only achievable via the ā€œjukeboxā€ API wherein the Subsonic server plays the audio and the clients control its playback. (It seems you canā€™t control playback of another client via the Subsonic API, like you can with the Jellyfin integration). Subsonic Jukebox would indeed be exposed as a Media player (plus a source) in Home assistant, but not all Subsonic servers support the jukebox API, notably not Navidrome.

Also it would be interesting to know which media player integration is the most full-featured, as the jellyfin integration (in an admittedly outdated HA version 2022.11.2) provides only basic pause/resume/play one track/volume controls, but no playlist controls (enqueue, skip, view, clear playlist, etc).

4 Likes

Any way you could give more details on this project ā€¦? Does this enable remote control of Subsonic from Home Assistant ā€¦?

FWIW navidrome has released the jukebox API

2 Likes

I created an integration for Subsonic, to be able to integrate my Navidrome, mainly to bring the radios I have there.

If you want, you can try to use it, if there is any problem or bug, comment on it in the repository.

Itā€™s the first time Iā€™ve created an integration for HA, so Iā€™m still checking if Iā€™ve used all the best practices.

tiorac/ha-subsonic (github.com)

5 Likes

IT WORKED!!! Thanks, youā€™re awesome! The only thing that doesnā€™t work for me is playback in the HA app. I think thatā€™s more of a limitation of the app though.