Skip to content
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

Apple Music display and control widget #28

Open
EricAndrechek opened this issue Sep 3, 2020 · 3 comments
Open

Apple Music display and control widget #28

EricAndrechek opened this issue Sep 3, 2020 · 3 comments
Labels
widget request New widget request

Comments

@EricAndrechek
Copy link
Owner

Widget to control Apple Music and show playback info

@EricAndrechek EricAndrechek added the widget request New widget request label Sep 3, 2020
@EricAndrechek
Copy link
Owner Author

Unfortunately, it doesn't look like Apple Music provides an API to control music playback from other devices. I plan to integrate some of the AppleScript code from homebridge-music as a workaround for this problem for anyone with a Mac.

@MReprogle1
Copy link

@EricAndrechek Just wondering if there was any kind of update on this after Apple slightly opened things up with an API for Music called MusicKit. I don't know enough about these things but it does seem promising based on what they are saying. https://developer.apple.com/videos/play/wwdc2022/10148/

It'd also be awesome if there was Airplay support. I think they used to have an API for it, and it'd be awesome to just "cast" stuff to the homebridge-display, especially if someone wanted to use this as a means to turn "dumb" speakers into airplay enabled speakers by connecting this display to an audio receiver (just spitballing at this point, but that'd be super cool if there was a way to do this).

@EricAndrechek
Copy link
Owner Author

@MReprogle1 Thanks for sending the link! It looks like this new API from Apple lets you play music on web pages and other devices using your account, and let's you proegrammitcly search for songs and artists, but I don't think it lets you actually control playback if the music is playing on a different device still.

One thing this could allow us to do is you could play music on your Homebridge-display device directly and then control it from your phone via another webpage, but that gets to be messy and complicated.

I am not really sure how opening it up to be an airplay client would work, especially because this functions as a webpage on the device and so I don't have access to all the special features an app may have, but I'll look into what may be possible.

Thanks for the feedback and suggestions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
widget request New widget request
Projects
None yet
Development

No branches or pull requests

2 participants