@bushvin, if I use the last update (Feb 6,2021) I’ve always the error when browsing local library.
Instead the commit on Feb 4 2021 is ok.
Apologies, I have been cleaning up the code to be more aligned to the project’s coding requirements.
Should work now.
I tried to get this working today and got an error:
Logger: homeassistant.components.hassio
Source: components/hassio/__init__.py:420
Integration: Hass.io (documentation, issues)
First occurred: 9:15:58 AM (1 occurrences)
Last logged: 9:15:58 AM
Platform error media_player.mopidy - No module named 'mopidyapi'
I have the custom component installed, have rebooted and my config is quite simple:
media_player:
- platform: mopidy
host: 192.168.1.56
name: mopidy
I’m running HassOS 2021.2.1
Can anyone see what I’m missing?
Thanks
Did you copy all files, including manifest.json
? Does your Home Assistant server have access to the internet?
The mopidyapi
module is’t fetched from pypi.
I copied the whole folder named mopidy into the custom components folder.
Yes my HA install has internet access.
anything I can test?
This weird, indeed.
How did you install Home Assistant?
@danbutter please try this
Do NOT configure the integration in your configuration.yaml
Instead just copy the files as adviced by @bushvin
Then restart HA
Only then configure the integration in the yaml
Then restart again
I’m running HassOS in a VM. Host is proxmox.
That seems to have worked! Thanks!
…had the same issue. I do not know, whether this is just how integrations work in general.
By the way: If you want to make it a “standard integration” into HA core, it has to have a grafical setup without configuration.yaml entry (Though nobody needs that. That’s my way of saying “I don’t need it”)
sweet… I had no idea the MPD platform had a graphical interface to set up
The MPD doesn’t have it, because it already existed when it was decided to move device integrations from YAML to config flow.
New integrations must use config flow and YAML config will not be accepted by the core devs.
Am I missunderstanding something here? When checking in Mopidy server (through Iris) while listening to RockRadio stream, the artist and title data are displayed there normally.
But at the same time in the platform (shown through mini media player custom card) in HA there is only the name of streaming radio station and no artist/title details…
Is it supposed to be so?
very good, thank you @bushvin , I will test and give you feedback and forgive me for the delay in the response
This is probably a configuration issue in the mini media player card, mine shows artist and title just fine:
Hmmm, is it possible, that some Mopidy server setting causes this and not the player? Because I have the same problem even in default HA media player card…
Maybe it’s because it’s played from a radio station.
That’s what I meant… because playing local mp3 file works just fine, just streaming radio stations does not…
But is it a feature or a bug in this platform?