-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MUSIC ASSISTANT WILL NOT WORK WITH HOME ASSISTANT 2023.3 #1143
Comments
Following up: It was my intention to still provide fix updates for the current (v1) version of Music Assistant as it is on HACS but unfortunately the upstream dependency issue is bad enough to make it near impossible, hence my decision to move all development focus to the 2.0 version. It is not a bad intention but just bad luck. Sad to hear that some people seem to think otherwise. |
The new version of Music Assistant will run as a standalone application. The reason for this is exactly why it broke now, you can not have two captains on one ship. Both Home Assistant and Music Assistant are very large and complicated projects and it was a very bad idea of me in the first place to run the "core" of Music Assistant within Home Assistant itself. The 2.0 approach is that the Music Assistant core runs on its own and the Home Assistant integration is just a connector, making it resilient to the kind of dependency issues that killed the v1 version. For some this may sound as bad news but it is actually very good news because now we can have a much more fine grained control over the players and playback. You already see the first results of this in the early 2.0 betas: Full metadata is displayed. There is still a lot of work to do on the 2.0 code but his feels like a very strong foundation to continue and make it into something awesome. Running the Music Assistant 2.0 BETAPreferred method: Home Assistant Add-on Add the Music Assistant repository to your Home Assistant instance. Alternative method: Docker image
You must run the docker container with host network mode and the data volume is /data. If you want access to your local music files from within MA, make sure to also mount that, e.g. /media. Note that accessing remote (SMB) shares can be done from within MA itself using the SMB File provider. |
I have MA v1 installed and now I can no longer remove it ?! If you already upgraded to HA 2023.3.x you have two options:
See also here for more tips and tricks how to deal with this: You can also just keep the (now not working) Music Assistant integration installed if you want and upgrade it later to the updated integration for 2.0. It just looks a bit messy to have a malfunctioning integration but it can't do any harm. |
BETA software is not yet polished Please understand that we rushed the release of the early beta due to the major dependency conflict with HA 2023.3.x so not all features are ready. Most important, at this time we only have the server component ready, the actual "core" of Music Assistant and we're fixing the last bugs to get that in a stable state. After that we will focus on having the Music Assistant integration working again so you can control your music from within HA. Ultimate goal is to just submit the integration part as an official component for HA but we might reinstate the HACS version to gather some beta feedback first and/or to get people started sooner. Follow progress of the new v2.0 version here: |
Hello Marcel,
|
@szemod please confirm that before you tried to use v2 that you disabled the v1 integration in HA SETTINGS? |
@OzGav Thanks for your guide, To disable the v1 solved my first issue. |
Someone asked a similar question in discord. This is the response
So you will have to wait a little while for this to be implemented. Sorry for the inconvenience. |
Many thanks for your reply! Then I'll need wait until is implemented. I have one more question: The global search field is missing on the HOME page of v2. Is that also planned in the future? |
That is currently being worked on https://github.com/orgs/music-assistant/projects/2/views/1 |
I share my experience. HACS version MA must be disabled in the Integrations menu. Currently, there are no entities with the MA v2 extension, automation/call service options are not yet available. For those who care, continue to use the HACS version. We hope it will exit the beta state as soon as possible, the new MA v2 extension will also include entities, automatisms/call services, dark theme mode. :) Also, I recommend that there should be a site on the github site about what/what the given MA v2 version update contains, so that the average user can easily see the changes and the development. |
Have a look at the link immediately above your post. That shows what is being worked on and what is coming up. Also you can join the Discord channel which has lots of discussions about what is happening with the project. |
Ok, that site is good, but I think it would be better if we could get information about the given version, what has changed and what has been added. |
Yes Marcel does that for full releases for during this beta development phase we are running with the backlog. |
Does Browse work in v2.0 or is it something that will be added later on? Clicking on anything does nothing Thank you |
B8 fixed this |
Oh! thanks! I hadn't noticed that it had updates! |
We release a new beta almost every day with bugfixes and the final (missing) features being added. When 2.0 is being released there will be a full writeup of the new features and such. And of course as @andrewigali pointed out, if you just want a stable setup and not toy with beta versions, just stick with the V1 version for now which works rock solid on HA 2023.2.x. |
Sorry to bother you again. I wave a shared folder mounted in Home Assistant following this guide. I can see the folder in the Media tab in Home Assistant but when I add it to the Local Filesystem in Music Assistant it's empty |
@thermosiphonas in Music Assistant v2.0 you no longer use that workaround with mounting a share but instead you pick the "SMB mediaprovider" for direct access to your remote share |
I have a very large library (over 950GB and 120,000 files) and SMB mediaprovider gets stuck all the time. I cannot enter a folder and see the mp3s inside it |
If you have HA >= 2023.3.x installed then you can only use MA V2 BETA. Automations will be available in that in a few weeks. |
Yes, I'm still using HA 2023.2.1 and HACS Music Assistant. It's just the lack of automation that keeps me from upgrading the HA system and switching to the Music Assistant plugin. |
Ok please open a discussion and ask for some help explaining what you want to do and what you have tried so far. |
Dear Marcel will version 2.0 work with new HA 2023.3 onwards , as i had many scripts to say notification then play the music again ? .... I hope it gets sorted all the best Marcel it was awesome while it lasted :) |
Version 2 already works with the latest versions of HA. The HA integration to allow automations is a couple of weeks away. |
I am using HA Container installation, so obviously I've tried the docker version [both by the docker run line you've provided, and by docker-compose that I made]. |
If you used host network mode (as required in the docs) you can access the local webserver of the MA server on http://ipofyourdockerhost:8095 |
I've tried that [that's what I meant by IP:8095] - but nothing is showing up. |
it really should work (look in the log if it started on port 8095 because it auto picks another port if that port is already taken). Also make sure to use HTTP and not HTTPS and maybe try another browser. 100s of people use it this way. |
log was legit. so I've restarted my docker, and to be sure - deleted browser's cache one more time and it clicked. seems it was some cache problem. thanks! |
I have been and remain a fan of Music Assistant for a long time. |
No you haven’t missed anything. The ESP devices are not yet supported. Go to the player provider poll and express your interest in that over there |
Did I understand correctly that support for ESPHome Player has ended due to changes in ESPHome? |
No MA V2 needs to have support added for those devices. Having said that when the HA.integration is written in a few weeks then all HA media player entities will be exposed |
Thanks. Wait for update. |
May be it is a bug, i do not know. Some Players remain in the list when selecting a target audio device. But these players have been deleted from the player list. Don know why they show up. Suggestion: it would also be nice if offline devices and devices that are "off", do not show up. Also, when creating a "Helper" that has two or more audio devices in it, I would like to be able to choose this "Helper" as a Player so that i can play to a group of speakers (by their Chromecast endpoints that are Entities in this Helper group). Update: |
Please look for similar or identical existing issues #1180 and don't keep adding to this topic with new or unrelated info, start a new discussion or issue. |
Hi all! I have been following the progress here with some interest, and I am trying to install the MA v2 add on using the instructions I found. I have managed to get the MA in my add on store, but I can't install it as it reports my processor or OS is not supported. I am using an RPi 2 model B, so it should have a ARM Cortex-A7 processor. My OS is the latest, 10.1 currently. Am I out of luck that my device is too old, or will it be supported at some time in the future or could something else be wrong? |
I think only 64bit is supported. |
1 GB ram won't be enough either. It works on my test setup using a pi 3b with 1 GB and that just works, as long I don't add other add-on's or many extra integrations |
Ok, good to know, thank you for your replies! Time to invest a little bit again.. |
FYI: Music Assistant 2023.6.0 beta 0 is now available on HACS which is the rewritten Home Assistant integration that talks to Music Assistant Server 2.0. |
I get a "List index out of range", when |
@rvandet You are posting in a closed issue from years ago? Firstly having the start radio option against a radio station is a bug. that will be removed. Next the error message is poor. If you look in your logs you will probably find that "the provider library does not support dynamic tracks". So you need to ensure you have a streaming provider that supports dynamic tracks |
IMPORTANT NOTICE
Music Assistant is NOT compatible with Home Assistant release 2023.3 (and upwards) due to an unfortunate compatibility issue. At this time it is not possible to fix this issue I'm afraid.
Because a complete overhaul of Music Assistant was already in the making, version 2.0, we have decided to already release an early version of the 2.0 beta so people can get going from there. Follow us on discord to get the latest news about the beta and give and discuss feedback about it or follow progress and/on the backlog: https://github.com/orgs/music-assistant/projects/2
What to do next ?
Please postpone your upgrade to Home Assistant 2023.3
OR
Live a few weeks without Music Assistant
Thanks for your understanding!
The text was updated successfully, but these errors were encountered: