This repository has been archived by the owner on Jun 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
About AppleScript Support
James edited this page Aug 18, 2015
·
2 revisions
Starting in 2.2.7, MAL Updater OS X now have AppleScript scripting support. In short, it's possible to use currently playing information with other applications like IRC clients, twitter clients, and other third party applications.
MAL Updater OS X has three Applescript commands you can use. Here is all of these commands from the AppleScript scripting dictionary for MAL Updater OS X.
getstatus v : Returns the currently playing status information.
getstatus
→ text : Currently playing information in JSON. If there is nothing playing, it will return a blank array.
Example:
{"id":"28999","scrobbledactualtitle":"Charlotte","source":"mplayer","scrobbledtitle":"Charlotte","scrobbledEpisode":"07"}
scrobblenow v : Tells MAL Updater OS X to perform an on demand scrobble.
toggleautoscrobble v : Tells MAL Updater OS X to toggle the auto scrobble state.