Shoutcast playlist script update
#1
new version of the original shoutcast_update.py script by nei (downloads playlists from shoutcast site)

see here:

script posting


enjoy!

belle -=desire pc=-
Reply
#2
it doesnt work here. it says:

Quote:file "...", line 94
def (self, fileline, bitrate, stationname, listeners):
^
syntax error, invalid syntax.
Reply
#3
hmmmm, the forum doesn't let me post certain chars, so the script is not ok....
download the working file here
Reply
#4
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 ??

+++
Reply
#5
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 posting in the shoutcast forum
Reply
#6
iop,

with a low value it's ok, thanks dude for the tips :d

bye
Reply

Logout Mark Read Team Forum Stats Members Help
Shoutcast playlist script update0