Cocoa application for sending iTunes track information to IFTTT
- Enable the Maker Channel if you haven't already.
- Install the application and preference pane by pasting the following command into the OS X Terminal utility (located in /Applications/Utilities/):
curl -fsSL https://raw.github.com/grotter/IFTTTunes/master/deploy/install.sh | sh
Fill out your Maker Channel secret key in System Preferences. The app sends a pre-formatted string containing basic track information as Value1 and the JSON-encoded equivalent as Value2 to Maker Channel recipes with the Event Name trigger set as “itunes”.
E.g., follow @rotterworld to keep tabs on my questionable taste-levels in music. The @rotterworld Twitterbot uses IFTTTunes and this recipe.
Set the application’s active state by toggling the little IFTTT button in the OS X menubar.
This application has been tested with iTunes v11 and v12 and Music v1. You might need to dump the interface for your Music install to be used with Scripting Bridge and recompile. Just replace Music.h with:
# legacy
# xcrun sdef /Applications/iTunes.app | xcrun sdp -fh --basename iTunes
xcrun sdef /System/Applications/Music.app | xcrun sdp -fh --basename Music
Run the uninstall script via
curl -fsSL https://raw.github.com/grotter/IFTTTunes/master/deploy/uninstall.sh | sh
- Add customizable track string format to preferences for Value1