The Music App appears to be fully scriptable, and all of the Applescript commands that could be used with iTunes can also be used with the Music App. Applescript GUI scripting was used for this computer mirroring feature, which means you might have to authorize Script Editor and maybe a SSH service in System Preferences ->Security & Privacy-> Privacy tab-> Accessibility.
#Media remote for mac tv#
I have included the ability to mirror the Mac's screen in the shortcut anyway in the hope that someone might find it useful for something other than the Music and TV apps.
![media remote for mac media remote for mac](http://ecx.images-amazon.com/images/I/31CCe-cEDGL._AC_UL160_SR160,160_.jpg)
![media remote for mac media remote for mac](https://cdn.shopify.com/s/files/1/0077/6699/9158/products/sticky-bunny-shop-ps5-media-remote-watercolor-cactus-ps5-media-remote-skin-15275429625974_700x.jpg)
I experimented with using a Mac's built-in ability to mirror to an AirPlay display, but unfortunately the audio and video are out of sync when using this method. The TV App can stream successfully to an Apple TV when the command is initiated from within the app itself, but this function is not scriptable in the app. As a result, this shortcut lacks the ability to control some major features, the most important of which is the ability to select an AirPlay display to watch videos (such as an Apple TV, for example). The TV App is partially scriptable, which means only some functions of the app are able to be controlled by Applescript. Apple did not make the Podcasts App "scriptable" at all, meaning it is unable to be issued commands using Applescript, and therefore can not be controlled by this shortcut. When Apple discontinued iTunes, they replaced it with 3 apps… the Music App, TV App, and Podcasts App. Versions 3.0 and later are only compatible with iOS 13 and MacOS 10.15.x Catalina.
![media remote for mac media remote for mac](https://cdn.shopify.com/s/files/1/0079/7310/9849/products/RM-K05_580x@2x.jpg)
This Mac Media Remote shortcut controls both the Music and TV apps on a Mac computer. It's not as pretty but it's faster and thus more convenient. This Siri shortcut is meant to be an alternative to Apple's Remote app.