Disco Fever

Tonight we went and had a few drinks and sung karaoke at a bar near our house. Its nice, because its walking distance. There were a bunch of prospective grad students there, and a few people I hadn’t seen in a while. I sang “Fat Bottomed Girls” by Queen and “All Along the Watchtower” by Jimi Hendrix. I tore it up on the dance floor. Now I smell like cigarette smoke, which isn’t as great as it sounds, believe you me.

The new ‘currently playing’ script is in action, look for it down below on the menu bar. A plugin for Winamp3, called SpyAMP, sends a POST query to a script on your server which parses the results and displays them on a webpage. The included script is very bare-bones, so I wrote my own that accepts the song information, stores the last 10 songs in a mySQL database, and then there is a display script that searches the database, and puts up the entries in order. If the script detects that there hasn’t been an update for more than 20 minutes, it displays “Not currently playing.” It also displays a google link to the artist if there is ID3 tag information for the song (this could be easily modified to submit query info to other search engines, or amazon.com or something), and if there is no ID3 tag info, it simply displays the filename.

The script is written in PHP and uses mySQL, and is designed to connect to SpyAMP for Winamp3 (my PC is my jukebox). Its pretty hacked up at the moment, but I’ll release a more complete version of it once I have it set up the way I want it. Think of it as a ghetto KungTunes for Winamp3. If anyone wants the files as they are, go ahead and contact me and I’ll email them to you.

2 Responses to “Disco Fever”

  1. on 31 Jan 2003 at 11:54 pm nick

    nothing wrong with smelling like cigarette smoke…

    and i was gonna ask, “hey, are you gonna release that code?” but you answered my question. i’m still using winamp 2 so i can use blogamp with it. there was something else that sucked about 3, but i can’t remember…

  2. on 01 Feb 2003 at 12:02 am Sam

    I prefer winamp3 to winamp2. I like the crossfader, and the ability to change the morph rate for the shuffle function. Some people have found it a little less stable but that hasn’t been my experience. If you decide to go to winamp3, let me know, and i’ll hook you up with the code. I’m tired and have a few drinks in me, so I’m not going to be posting any tarballs tonight, but maybe tommorow I’ll finish up the script and put it up here with a little documentation.

    peace,
    sam

Feed on comments to this Post

Leave a Reply