Skip to content

Script utilizing Growl diagnostic messages to capture song change notifications and writes the new song metadata to a file in /tmp as well as setting iChat or Adium's status message if they are running.

Notifications You must be signed in to change notification settings

j005u/SpotifyNowPlayingAgent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Spotify Now Playing Agent

This script utilizes Growl diagnostic messages to capture song change notifications and writes the new song metadata to a file in /tmp/spotify.current for scripting purposes. The script will also set the iChat or Adium's status message if you are running one of them.

Installation

  1. Move com.spotify.NowPlayingAgent.plist to ~/Library/LaunchAgents/
  2. Move SpotifyNowPlayingAgent to /usr/local/bin/
  3. Open Terminal.app
  4. Enter the following commands: defaults write com.Growl.GrowlHelperApp GrowlLoggingEnabled -int 1 sudo killall GrowlHelperApp open ~/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app chmod +x /usr/local/bin/SpotifyNowPlayingAgent launchctl load -w ~/Library/LaunchAgents/com.spotify.NowPlayingAgent.plist

Credits

License

(The MIT License)

Copyright (c) 2010 Nicholas Penree [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Script utilizing Growl diagnostic messages to capture song change notifications and writes the new song metadata to a file in /tmp as well as setting iChat or Adium's status message if they are running.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published