surekap / MMM-ShairportMetadata

AirTunes metadata module for MagicMirror
MIT License
18 stars 11 forks source link

Homepod - >> Magicmirror #16

Open amaraliamagic opened 4 years ago

amaraliamagic commented 4 years ago

Hello, is there a solution to retrieve the homepod stream on Magic mirror, to have the information of the music played from the homepod.

Best regards,

phenomeus commented 4 years ago

you are reading my mind. I just want to "see" the information my HomePod(s) are playing. that would be so awesome.

surekap commented 4 years ago

Unfortunately, I do not have a Homepod so I cannot test this. The shairport utility acts on metadata of the audio stream sent to the device running magic mirror.

If the Homepod is directly connected to the mirror and is outputting audio then there is theoretically no additonal setup necessary (line out of magic mirror device connected to line in of Homepod).

However, it is more likely that you have set these up as separate devices. In that case, the music metadata is not available to the magic mirror.

If you are playing music from Spotify or some streaming service, there are trackers which use the streaming service APIs (nothing to do with airplay). In that case you might try to install a Magic mirror plugin for Spotify which tracks what is currently playing. In this case, when you play something on your Homepod or phone or even your car, the mirror should show what's playing.

If you find another way to do this and want to submit a pull request, I would be happy to take a look at it.

On 05-Nov-2020 at 9:10 pm, amaralialive notifications@github.com wrote:

Hello, is there a solution to retrieve the homepod stream on Magic mirror, to have the information of the music played from the homepod.

Best regards,

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/surekap/MMM-ShairportMetadata/issues/16, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFIQZSOJOJTY5TKVIMFII3SOLBPFANCNFSM4TLQSRBQ .

phenomeus commented 4 years ago

i noticed, that it would be nice to stream something to 2 HomePods + 1 sharepoint mirror (even without connected speakers). but I can't force it from my phone to stream to 3 devices where 2 are different types (sharepoint // HomePod).

maybe there will be an update from the other sharepoint team

editwentyone commented 2 years ago

i made it work for me: I can play something on my HomePods and include with airport 2 support my magic mirror to show what is played.

follow this guide: https://github.com/mikebrady/shairport-sync/blob/development/BUILDFORAP2.md#build-and-install

you need to build shairport-sync from development branch and while doing that you need to add --with-metadata at this point: https://github.com/mikebrady/shairport-sync/blob/development/BUILDFORAP2.md#build-and-install

like this: ./configure --sysconfdir=/etc --with-alsa \ --with-soxr --with-avahi --with-ssl=openssl --with-systemd --with-airplay-2 --with-metadata

I like the solution, its ok for me