View Full Version : Shoutcast playlist script update
BelleDesirePC
2005-03-04, 14:56
new version of the original shoutcast_update.py script by nei (downloads playlists from shoutcast site)
see here:
script posting (http://www.xboxmediaplayer.de/cgi-bin/forums/ikonboard.pl?act=st;f=21;t=11021)
enjoy!
belle -=desire pc=-
xboxbabes
2005-03-05, 05:49
it doesnt work here. it says:
file "...", line 94
def (self, fileline, bitrate, stationname, listeners):
^
syntax error, invalid syntax.
BelleDesirePC
2005-03-05, 12:45
hmmmm, the forum doesn't let me post certain chars, so the script is not ok....
download the working file here (http://www.liner-innovation.com/belle/shoutcastplsdownloader.py)
iop,
greetz, it's ok :thumbsup:
now it's very easy to download pls on box's localhd thanks dude :kickass: .
sometimes i get the message: " too many requests, try again in a few hours. "
if i get it, it's because i change the "minimum bitrates for stations to 0" (changed it to 64 and 96 and it's ok )
this message can result to empty directory and missing pls..
i would like to update my toho's pack, so have you got an idea to create no error 100% complete dialog with all bitrate on your script ??
+++
BelleDesirePC
2005-03-08, 10:53
toho,
thanks!
shoutcast only allows a limited number of downloads
of playlists a day (genre page views are not counted btw.) and "bans" you for a while if you get too many playlists at once.
so limit your genrelist to a few genres or set max_number_of_stations to a low value!
sorry, can't solve that for you.. it's a shoutcast restriction to reserve bandwidth for other users (which is a good thing of course).
by default the script only gets new stations and doesn't re-download previously downloaded playlist files, which of course limits the number of request the next time you run the script (you can change this behaviour if you like in the options).
see this (http://forums.winamp.com/showthread.php?s=&threadid=129886) posting in the shoutcast forum
iop,
with a low value it's ok, thanks dude for the tips :d
bye