My hope is someone can help me figure out how to integrate the Apple MusicKit integration via JS to control a local library and/or Apple Music account.
I am currently using an android app called Retune that allows me to connect to my “server” computer running iTunes. I can control my music playback remotely to that device and other Airplay devices via the app. Unfortunately the developer for that app has not made any changes or updated in several years, yet the app works still. https://play.google.com/store/apps/details?id=com.squallydoc.retune&hl=en_US
I am not a developer, yet I can see the great usage case for this functionality. I know there was a project by @obycode going on that allowed for a Mac to be controlled via Smartthings, however for those of use that don’t own Mac’s his solution didn’t work.
Here is my idea:
Use the same framework in the Retune app to create a SmartApp that creates a Device Type to control basic controls of the Apple Music playback.
Use the created Device to integrate into the #actiontiles platform (as this is what I use personally for my system), much like the Sonos type setup.
Must make this a multi-platform use-case. Not limiting this to be run from a Mac only environment.
I am open to discussing this more and helping in anyway I can.
I am using Kindle Fire 8 tablets for my use of Actiontiles, so the apple shortcuts won’t work with that, but I am using the Retune app.
I would l just like to take all the functionality, or some of it, and input that directly via Smartthings as a device that can be added to Actiontiles to be controlled universally.
What type of music player are you actually playing the music on? That is what you are going to need to control. Not the source of the music. It doesn’t matter where the player finds the music, if you can control the player, you can choose what is played. My question is, if you are using a Kindle Fire 8, why not just use an Android app that can do the same thing? You have all this machine in your hand, why complicate things by involving ActionTiles?
Thank you for your input Ryan. I understand your points, and the multi app process has been working for myself. However, the issue or room for improvement would be to integrate all the functionality of the “Apple Remote” type app into ST directly, the current setup is not exactly user friendly since it requires app switching, which confuses my wife and other non-techy family members.
Zone Control: I am able to change each zone to play an input either in sync with other zones, or independently. I have 6 wall mounted controllers setup in each of the respective zones to control the input and volume.
Input Control: Each input is controlled respectively, however this what I would like to streamline.
TV Inputs and Line-in/BT are pretty straight forward, whatever audio is going through those would be sent to the zone.
Echo and iTunes inputs are slightly different.
Echo: I am controlling the echo dots to play an assortment of Amazon echo services (music, books, etc.) via echo commands from Echo Dots through out the home. These dots are meshed into a group and there is one directly hooked via Aux-L/R connection to the Monoprice Amp. Controlling Amazon music playback and playlist/search would be awesome integration too.
iTunes: I am using an old low profile pc in my network rack to run my Home Sharing iTunes. This device’s audio out is plugged into the Monoprice Amp. I control the selected music currently via the Retune (Android) app or my iPhone using the iTunes Remote app. I am not complaining about this setup at all, just wishing it could be streamlined to be a native app in ST, along with Amazon Music control.
I know these are all hopes and dreams, but I know that there is integration capability out there via the API for MusicKit. I am just hoping to spark someone’s creative juices and help make this dream come a reality. I am a hardware guy, not really too great with all the in-depth coding that may be needed.
So fortunately the changes that Amazon has made to the echo devices to allow playing Apple Music has bee a huge win for me. I have now been able to pretty much ditch the remote Apple Music server control for just using voice control to play from my Apple Music library.