Kodi Community Forum
Kodi and AppleScript - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Mac OS X (https://forum.kodi.tv/forumdisplay.php?fid=56)
+---- Thread: Kodi and AppleScript (/showthread.php?tid=313347)



Kodi and AppleScript - seansafc89 - 2017-04-28

I've searched around and found no solid answers as to whether this is possible.

I currently use BetterTouchTool with AppleScript to show my 'Now Playing' items from VLC, Spotify etc on the Touch Bar (screenshot below as an example). It's pretty much a cosmetic thing, but I was wondering if Kodi would allow me to do something similar?

Image

I have found a few references to Kodi and AppleScript, but it all appears to be limited to the RunAppleScript function, which unfortunately I don't think will work in this instance. Any help would be appreciated.


RE: Kodi and AppleScript - teeedubb - 2017-04-28

You could use jsonrpc to pull the now playing info. Not sure how to get that to work with applescript