having trouble with html-based startup of songs

satchel loftis <[email protected]> Mon, 8 Apr 2002 10:33:30 -0400
Newsgroups gmane.comp.apache.mod-mp3
Organization MAIN
Message-ID <[email protected]>
hey there,

i'm struggling to get an interface slapped together for on-demand streaming 
of some archived radio shows.

it seems that every time i try to start a song using 
"?op=play&song=md5sum_for_the_track", at best i get random play instead of 
the specified song.

most times i get xmms to open and it presents me with the "open file" dialog 
box. not sure if this is just xmms-specifi behaviour, though. i'd appreciate 
it if folks could check out the first link at the following URL and tell me 
what they see:

   http://main.nc.us/satchel/archives.shtml


i think the problem is just with the syntax of the "?op" command. someone 
please straighten me out! things work like a charm if i just use "?op=play" 
and let it randomly play the one track in the directory.

here's the content of my mp3.conf file, which is Included into my apache 
httpd.conf file.

<IfModule mod_mp3.c>
   Listen 80
   Listen 8000
   Listen 8001

   <VirtualHost _default_:8000>
   MP3Engine On
   MP3CastName "WCQS"
   MP3Genre "wcqs"
   MP3 /home/wcqs/content
   Timeout 1200
   </VirtualHost>
        

</IfModule>


also i'm using a perl script to generate the md5sum. if anyone knows the 
appropriate function, please pass it on. i've been using md5_hex, but not 
getting the same value as the md5sum program from the shell.

thanks,
-satchel