#Help needed for fixing AIMP integration

3 messages · Page 1 of 1 (latest)

raw kraken
#

Hi, i started to rewrite the https://github.com/xilense/aimp_custom_component, but was unable to get it to anywhere. I don't understand that it needs a separate method for MediaPlayerEntityFeature? Because when i want to change the from homeassistant.components.media_player.const import ( MediaPlayerEntityFeature.PAUSE|SEEK|VOLUME_SET|VOLUME_MUTE|PREVIOUS_TRACK|NEXT_TRACK|SELECT_SOURCE|STOP|CLEAR_PLAYLIST|PLAY|SHUFFLE_SET ) it won't work. Thanks for helping in advance. PS: I don't know if this is the best channel to post this, but since the dev channels were set to read only i could only post it here.

GitHub

AIMP custom component for 🏠 Home Assistant using web remote - xilense/aimp_custom_component

#

With the latest HA version (2025.01) the magic number support is deprecated so it needs to be rewritten.

raw kraken
#

I use this app almost everyday to control my music, so it's gonna be great if somebody could help me rewrite (just replace the things that are required) this.