apple_airplayer icon indicating copy to clipboard operation
apple_airplayer copied to clipboard

reinstall mminiaudio each new version of Homeassitant

Open steve41200 opened this issue 2 years ago • 4 comments

Do you know if their is a system to avoid reinstall mini audio each time we update Homeassistant ? minimum 1 time per month ...).

Your add on is. exactly what I'm searching to use my HomePod, but it's annoying to reinstall mini audio each time I update Homeassistant

steve41200 avatar Sep 27 '21 18:09 steve41200

Can you describe in more detail how you update miniaudio. I have ssh'd onto my instance of HA but the 'pip3 uninstall --yes miniaudio' command just staes that miniaudio is not installed.

I'm using the community ssh and terminal logging onto my instance running in a VM on my windows pc.

Many thanks

sdeagh avatar Oct 26 '21 17:10 sdeagh

You need to run the installation in the docker-container not on the host docker exec -it homeassistant /bin/bash here 'homeassistant' is your container name - usually that's homeassistant but you can find out by issuing docker ps | grep supervisor the part in front of the / is the container name.

Then just run as the documentation states

apk update
apk add build-base
pip3 uninstall --yes miniaudio
pip3 install miniaudio

MarkusFelix avatar Nov 02 '21 16:11 MarkusFelix

Do we still need to reinstall miniaudio? I just installed Airplayer on HassOS 6.6 x86-64 v2021.11.5 and it worked without having to reinstall miniaudio.

DogParty avatar Nov 30 '21 18:11 DogParty

I have used portainer to access supervisor container. It didn't have miniaudio installed at all. I have tried to install, it did install successfuly, but TTS does not work. Any other options to check?

Another question, how to play any audio file on the homepod mini via HA?

Fannangir avatar Dec 05 '21 19:12 Fannangir