Skip to content

trackupdate polls iTunes every 10 seconds for information about the currently playing track and hands this information to target plugins to perform various tasks. While the git project's name includes 'nicecast', the project has evolved and the Nicecast specific code has been pushed into the Nicecast plugin.

License

GunioRobot/nicecast-trackupdate

 
 

Repository files navigation

nicecast-trackupdate v1.1
(c) 2009-2010 - Sean M. Graham 

This code exists under an MIT license, see LICENSE for details

--

trackupdate polls iTunes every 10 seconds for information about the
currently playing track and hands this information to target plugins to
perform various tasks. The currently included plugins are:

- StdioTarget - Prints the current artist and track to stdout (aka "the
  terminal")
- NicecastTarget - Places the current track info into Nicecast's
  "NowPlaying.txt" file
- WikiTarget - Creates a text file containing all of the tracks played while
  trackupdate was running.  The contents are formatted in MediaWiki's table
  format. 
- TwitterTarget - Posts each track's artist and name to a twitter account
  specified in the .rc file.  Requires that python-twitter is installed
  (http://code.google.com/p/python-twitter/)

trackupdate and some of its plugins require configuration data, which is
stored in a file named ~/.trackupdaterc. See example-trackupdaterc for
details on the various configuration options.

This script requires 'appscript' be installed, information about appscript
can be found here:

http://appscript.sourceforge.net/py-appscript/index.html

While this script is running, you may notice a persistent bouncing dock icon
for python.  This annoyed me, so I removed it by editing:

/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/Info.plist

and adding the following key to the <dict> tag:
    <key>NSUIElement</key>
    <string>1</string>

About

trackupdate polls iTunes every 10 seconds for information about the currently playing track and hands this information to target plugins to perform various tasks. While the git project's name includes 'nicecast', the project has evolved and the Nicecast specific code has been pushed into the Nicecast plugin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published