Adding developer provider to HAOS Music Assistant #5254
-
|
Hi everyone, I've hacked together a provider for MLB.tv audio streams. It works alright in my dev environment, but I wanted to move it over to my household HAOS server to give it some "soak time" and see what other kinks might need to be worked out before sharing it. Maybe I'm missing something, but I can't find a method for me to add my in-development provider to it. If there's a magic toggle that lets you, say, specify a git URL to fetch providers from or something, I'm missing it. I even tried going into the music-assistant docker on my HAOS machine and downloading the provider's files from a web server, but even after restart, they're not being recognized. Is there a way I can run my own provider code at home? Surely there must be some need to do this for testing's sake. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
You can use the dev version of the server and point it to your branch. You will need to enable advanced mode for your user in HA to see it. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the feedback. I was able to get things playing in some speakers around the house, after some wrestling. Seems I had to turn off my stable Music Assistant before enabling my dev one, or else the dev one couldn't see its own providers. I guess even in the medium-term I should be offering this up as a PR. I'll do some cleanup and internal documentation, and hopefully the team will be patient with me on this. |
Beta Was this translation helpful? Give feedback.
You can use the dev version of the server and point it to your branch. You will need to enable advanced mode for your user in HA to see it.
https://www.music-assistant.io/release/#dev-channel