View Full Version : ShoutcastPlsDownloader v1.1 (JAVA)
shoutcastplsdownloader
utility to navigate the excellent shoutcast.com website and download station lists of a specific genre or all listed genres. can also limit the number of stations downloaded per genre and select stations based on a specified maximum or minimum bitrate. ideal for building a local list of stations for the xbox media player or xbox media center.
shoutcastplsdownloader (http://mp3imagetagextr.sourceforge.net/)
omg, that's what i was waiting for! just used it and it's perfect. thanks a lot!
just looked into the sources because i missed the downtempo genre. i think it would be nice to make a config file for all the genres, which then is read in buildgenrearray() in plsdownloader.java. so everybody could easily configure his/her prefered genres. i could do this for you, if you like... :-)
just looked into the sources because i missed the downtempo genre. i think it would be nice to make a config file for all the genres, which then is read in buildgenrearray() in plsdownloader.java. so everybody could easily configure his/her prefered genres. i could do this for you, if you like... :-)
glad you liked it.
regarding the genres. yes. this is on my list of improvements. i will post an update tomorrow with the genres in a seperate file.
why postpone till tomorrow what you can do today... :)
i just uploaded v1.1 which has user defined genres.
go grab it.
Bhellium
2003-12-02, 01:56
it seemes good, but im not using windows.
your manual for the non windows user isnt to great thou.
i tried to make it work but failed so i was wondering if you help me...
i get some error telling me im not using it right..
usage: java [-options] class [args...]
* * * * * (to execute a class)
* or *java -jar [-options] jarfile [args...]
* * * * * (to execute a jar file)
utility to navigate the excellent shoutcast.com website and download station lists of a specific genre or all listed genres.
(from xbox-scene.com)
http://mp3imagetagextr.sourceforge.net/
it seemes good, but im not using windows.
your manual for the non windows user isnt to great thou.
i tried to make it work but failed so i was wondering if you help me...
i get some error telling me im not using it right..
usage: java [-options] class [args...]
(to execute a class)
or java -jar [-options] jarfile [args...]
(to execute a jar file)
i have not tested on a linux platform but in principle it should work.
save the following code as plsdownloader.sh into the same directory where the plsdownloader.cmd exists and run it. it should work.
#!/bin/sh
# *
# * utility to download .pls files from the shoutcast website
# * note since the shoutcast website enforces a ban on too many
# * requests this program will sleep and attempt to continue
# * when banned. the default number of files per genre downloaded
# * is 50. once again this is to limit the number of requests made
# * to shoutcast. please respect the shoutcast.com policies and not
# * make too many requests to their site.
# *
# *
# *
# * created on 24th nov, 2003
# *
# * this code is released under the gpl license
# * @author sanjay madhavan
# *
# * version history:
# *
# * version date who comments
# * ----------------------------------------------------------------
# * v1.0 24.11.2003 sanjay first release
# * v1.1 01.12.2003 sanjay added user specifiable genres
# *
# * valid parameters are:
# -downloaddirectory localdirectory
# -maxfilespergenre 50
# -processgenre genrekey
# -proxylist filename
# -genrelist filename
# -ignoresavedstate
# -minimumbitrate n1
# -maximumbitrate n2
#
jars=./lib/commons-httpclient-2.0-rc2.jar:./lib/commons-logging.jar:./lib/commons-logging-api.jar
#
java -cp .:$jars:./bin com.revasoft.shoutcast.plsdownloader.plsdownloader $0 $1 $2 $3 $4 $5 $6 $7 $8 $9
Bhellium
2003-12-02, 20:12
thanx allot, it worx but i got banned :( but worx nevertheless.
thanx
/bhellium
thanx allot, it worx but i got banned :( but worx nevertheless.
thanx
/bhellium
hint setup the proxylist
Bhellium
2003-12-02, 22:23
ooooooo that is evil mohaha :angry:
i have updated the release to include the linux shell script. windows users dont bother updating. no other change
onkel bouncy
2003-12-17, 12:59
what about to implement it into xbmc ?
at the moment i have written it in java. if i have the time to learn c++ then i will look at it but i doubt i will have the time.
Hullebulle
2003-12-19, 00:50
at the moment i have written it in java. if i have the time to learn c++ then i will look at it but i doubt i will have the time.
better write it in python. then it will be easy to use it in xbmc.:)