Entries (RSS)  |  Comments (RSS)

Traktor to Snarkatron!

Awhile back I gave a talk about The Snarkatron at Ignite SF. It’s a digital sign, installed facing the crowd at the DNA Lounge here in San Francisco. I DJ a number of nights there, and my recent transition from CD and Vinyl to Laptop/MP3 with M-Audio’s Xponent has given me many more chances to do things with the playlist that I create each night. The main reason why I bought the sign was to let the public know what songs we were playing, but we were never able to do this without typing in each song name. The holy grail of getting the song titles onto the Snarkatron, automaticaly, has never been fulfilled until now.

The trick here is that you connect Traktor to a local Icecast2 install, turn on audio broadcast (with no listeners) in Traktor, and then read XML off the Icecast2 install to extract which song is playing from Traktor. Traktor is very smart about the current song as well. It looks at the decks and crossfader to determine the current, live song, and forwards that to Icecast.

We can extract this and use it for our digital display!

The source for this dumb trick follows below…

(Sorry for the bad layout of this code; I have to fix our CSS file after the recent site upgrade)

This entry was posted on Monday, July 28th, 2008 at 2:04 am and is filed under Misc, perl. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Viewing 1 Comment

blog comments powered by Disqus