Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#221923 - 27/07/2002 10:17 streamstripper.sh Shoutcast directory m3u builder
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
Hey guys,

I wrote this program for a different reason; but thought it might be handy here. It allows, through a cron job (linux) or scheduled job (w2k/cygwin), to update several m3u files with the top x-number of pages from the shoutcast server at a certain bitrate for a certain genre..

It expects an input file of the following format:

playlistfiletouse.m3u,minbitrate(use127ifyouwant128kb/etc),numberofpagesfromshoutcast(20searches/page, limited by bitrate),searchstringonshoutcast

i.e. - here's the grenrelist.txt that I'm using (has to be in the workdir as defined in the script)

hiphop.m3u,80,2,http://www.shoutcast.com/directory/index.phtml?sgenre=Rap
techno.m3u,100,2,http://www.shoutcast.com/directory/index.phtml?sgenre=Techno
toplist.m3u,80,5,http://www.shoutcast.com/directory/index.phtml?sgenre=TopTen
dance.m3u,80,2,http://www.shoutcast.com/directory/index.phtml?sgenre=Dance

...this is a quick an dirty bash script that I put together for a need that I had, and it has actually only been tested under cygwin/windows (specifically, requires sed/awk/wget/lynx/ - all of these should be part of the standard cygwin package available here: http://www.cygwin.com/ )

Again, very quick and dirty; but thought it would be useful (seeing as the rio receiver can stream i-net radio stations, but doesn't have an automated way to see the directory..)


...and if there's any demand for me improving/cleaning up this script, let me know. FYI I check the empeg.comms.net side of the bbs more often then this side.

-mark


Attachments
2135-stripstreams.sh (389 downloads)

_________________________
http://mvgals.net - clublife, revisited.

Top
#221924 - 27/07/2002 10:21 Re: streamstripper.sh Shoutcast directory m3u builder [Re: dionysus]
dionysus
veteran

Registered: 16/06/1999
Posts: 1222
Loc: San Francisco, CA
_________________________
http://mvgals.net - clublife, revisited.

Top