(bhellium @ dec. 01 2003,23:56 Wrote: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..
Quote: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