SciLor's Open Source Forums
http://forum.scilor.com/

[2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha 10
http://forum.scilor.com/viewtopic.php?f=230&t=918
Page 1 of 2

Author:  SciLor [ Sat Nov 19, 2011 3:45 pm ]
Post subject:  [2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha 10

SciLor's Java grooveshark™.com Downloader Pre-Alpha v10
Image

What about a fix for the new Grooveshark(tm) interface ;)

More Info: http://www.scilor.com/java-grooveshark-downloader.html

Batch Download Script for Unix Bash shell: viewtopic.php?f=229&t=806

Readme:
Code:
SciLor's Java grooveshark(tm).com Downloader Pre-Alpha v10
                            i.
                            .7.
                           .. :v
                          c:  .X
                           i.::
                             :
                            ..i..
                           #MMMMM
                           QM  AM
                           9M  zM
                           6M  AM
                           2M  2MX#MM@1.
                           OM  tMMMMMMMMMM;
                      .X#MMMM  ;MMMMMMMMMMMMv
                  cEMMMMMMMMMU7@MMMMMMMMMMMMM@
            .n@MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
           MMMMMMMM@@#$BWWB#@@#$WWWQQQWWWWB#@MM.
           MM                                ;M.
           $M                                EM
           WMO$@@@@@@@@@@@@@@@@@@@@@@@@@@@@#OMM
           #M                                cM
           QM         Another Cake by        tM
           MM              SciLor            CMO
        .MMMM                                oMMMt
       1MO 6MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM iMM
      .M1  BM     For all Portal Lovers!     vM  ,Mt
      1M   @M............................... WM   M6
       MM  .A8OQWWWWWWWWWWWWWWWWWWWWWWWWWWWOAz2  #M
        MM                                      MM.
         @MMY                                vMME
           UMMMbi                        i8MMMt
              C@MMMMMbt;;i.......i;XQMMMMMMt
                   ;ZMMMMMMMMMMMMMMM@A;.

ReadMe

You will need the Java runtime 1.6.

SciLor's Java grooveshark(tm).com Downloader is a tool for downloading music from grooveshark(tm).com.
I am not responsible for any violations to the Terms of Use of grooveshark(tm).com this tool may do. It is more or less a proove of concept.

I am not related to grooveshark(tm).com in any way!

ToDo:

Additional:
Please open a command line and type: "java -jar SciLorsJGroovesharkDownloader.jar" for usage ;)

Known Bugs:

If you like my hard work PLEASE DONATE! :)
http://www.scilor.com/donate.html

ChangeLog:

Pre-Alpha 10 (2011-11-19)
-Fix: Another change on our nice webservice ;)

-----------------------

Pre-Alpha v9 (2011-08-31)
-Fix: Songnames all null ;)

Pre-Alpha v8 (2011-07-20)
-Fix: A change on the webservice ;).

Pre-Alpha v7 (2011-06-06)
-API: Several fixes on the api.

Pre-Alpha v6 (2011-06-02)
-API: More features for the internal api, also some javadoc ;).
-Fix: Broken session cleaner (/r)

Pre-Alpha v5 (2011-05-01)
-Enhancement: Gson 1.7.1
-Enhancement: Unlimited search results
-Fix: Problems with special characters in filenames
-Fix: Another change on the website


Pre-Alpha v4 (2011-03-13)
-Enhancement: A bat file for easy usage :P
-Fix: Problems with special characters in filenames
-Fix: Another change on the website

Pre-Alpha v3 (2010-12-24)
-Feature: Cache session, this should increase the speed after the first search :).
-Fix: Another change on the website

Pre-Alpha v2 (2010-12-03)
-Fix: Cowbell error ;)

Pre-Alpha (2010-10-29)
-Initial Release


---------------LINKS-------------------------
My Website: http://www.scilor.com/
SciLor's Java grooveshark(tm).com Downloader Website: http://www.scilor.com/java-grooveshark-downloader.html
Donation: http://www.scilor.com/donate.html
-


DO NOT REUPLOAD THOSE FILES WITHOUT PERMISSION!

Attachments:
SciLorsJavaGrooveshark.comDownloaderPreAlphaV10.zip [224.53 KiB]
Downloaded 238 times
SciLorsJavaGrooveshark.comDownloaderPreAlphaV10.src.zip [54.61 KiB]
Downloaded 199 times

Author:  cogeary [ Tue Dec 13, 2011 6:52 am ]
Post subject:  Re: [2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha

Thanks for the program! I'm glad to have joined these forums :)

However, the whole "open-source" part of this kind of contradicts itself if the whole source isn't included... where did the packages "Base" and "Functions" go? :(

Thanks again for the software, keep it up. (You should write more Java programs;) )

Author:  SciLor [ Tue Dec 13, 2011 5:51 pm ]
Post subject:  Re: [2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha

There is no source for that because this is shared with other projects that are not open sources ;)

Author:  cogeary [ Thu Dec 15, 2011 2:00 am ]
Post subject:  Re: [2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha

Alright, thanks for the downloader.

Author:  sérane [ Sun Dec 25, 2011 7:42 pm ]
Post subject:  Re: [2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha

Hi and Merry Christmas!!!

First of all, thanks for providing this very useful tool!

Today, I experienced an issue while using it... See the example below:

Code:
java -jar SciLorsJGroovesharkDownloader.jar /c /l "Timbalive - El dinero"
SciLor's Java grooveshark(tm).com Downloader Pre-Alpha v10
Arguments:
"/c" "/l" "Timbalive - El dinero"

java.lang.Exception: Create Response Error: Response serialisation Error: com.google.gson.JsonObject cannot be cast to com.google.gson.JsonArray (
{"header":{"session":"adf7340d2e64d8d14f9ba8c4039f0813","serviceVersion":"20100903","prefetchEnabled":true},"result":{"result":{"Songs":[{"SongID":28153434,"AlbumID":5395158,"ArtistID":1668146,"GenreID":6934,"SongName":"El Dinero","AlbumName":"From Miami A La Habana (2009)","ArtistName":"Timbalive","Year":"2009","TrackNum":0,"CoverArtFilename":"5395158.jpg","ArtistCoverArtFilename":"1668146.jpg","TSAdded":"1292529960","AvgRating":0,"AvgDuration":0,"EstimateDuration":0,"Flags":0,"IsLowBitrateAvailable":0,"IsVerified":0,"Popularity":1132900007,"Score":110533.76103932},{"SongID":31675785,"AlbumID":5690867,"ArtistID":1668146,"GenreID":878,"SongName":"El Dinero","AlbumName":"From Miami A La Habana","ArtistName":"Timbalive","Year":"2009","TrackNum":3,"CoverArtFilename":"","ArtistCoverArtFilename":"1668146.jpg","TSAdded":"1310749264","AvgRating":0,"AvgDuration":0,"EstimateDuration":0,"Flags":0,"IsLowBitrateAvailable":0,"IsVerified":0,"Popularity":0,"Score":86716.216212581}]},"version":"HTP","assignedVersion":"HTP","askForSuggestion":false}})
   at Base.GroovesharkRequestBuilder.CreateResponse(GroovesharkRequestBuilder.java:113)
   at Base.GroovesharkRequestBuilder.MakeRequest(GroovesharkRequestBuilder.java:175)
   at Base.GroovesharkClient.SearchArtist(GroovesharkClient.java:325)
   at Downloader.JGroovesharkDownloader.listSearch(JGroovesharkDownloader.java:141)
   at Downloader.JGroovesharkDownloader.main(JGroovesharkDownloader.java:89)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
Error occured:
Create Response Error: Response serialisation Error: com.google.gson.JsonObject cannot be cast to com.google.gson.JsonArray (
{"header":{"session":"adf7340d2e64d8d14f9ba8c4039f0813","serviceVersion":"20100903","prefetchEnabled":true},"result":{"result":{"Songs":[{"SongID":28153434,"AlbumID":5395158,"ArtistID":1668146,"GenreID":6934,"SongName":"El Dinero","AlbumName":"From Miami A La Habana (2009)","ArtistName":"Timbalive","Year":"2009","TrackNum":0,"CoverArtFilename":"5395158.jpg","ArtistCoverArtFilename":"1668146.jpg","TSAdded":"1292529960","AvgRating":0,"AvgDuration":0,"EstimateDuration":0,"Flags":0,"IsLowBitrateAvailable":0,"IsVerified":0,"Popularity":1132900007,"Score":110533.76103932},{"SongID":31675785,"AlbumID":5690867,"ArtistID":1668146,"GenreID":878,"SongName":"El Dinero","AlbumName":"From Miami A La Habana","ArtistName":"Timbalive","Year":"2009","TrackNum":3,"CoverArtFilename":"","ArtistCoverArtFilename":"1668146.jpg","TSAdded":"1310749264","AvgRating":0,"AvgDuration":0,"EstimateDuration":0,"Flags":0,"IsLowBitrateAvailable":0,"IsVerified":0,"Popularity":0,"Score":86716.216212581}]},"version":"HTP","assignedVersion":"HTP","askForSuggestion":false}})


Author:  SciLor [ Sun Dec 25, 2011 8:04 pm ]
Post subject:  Re: [2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha

Next time, please open a new thread!

Try this ;) and please give positive feedback if it works.

Attachments:
SciLorsJGroovesharkDownloaderPreAlpha11.zip [220.48 KiB]
Downloaded 171 times

Author:  sérane [ Thu Dec 29, 2011 12:22 am ]
Post subject:  Re: [2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha

Thanks, but could you provide a runnable JAR file? :)

Author:  SciLor [ Thu Dec 29, 2011 12:28 am ]
Post subject:  Re: [2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha

What do you mean? its a command-line tool

Author:  sérane [ Thu Dec 29, 2011 7:36 pm ]
Post subject:  Re: [2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha

Sure, but the ZIP file you uploaded contains the compiled .class files, but they aren't provided in a jar. How can I build the JAR file ? Could you provide the build.xml ANT script, or a JAR file so I could run it using "java -jar ....." like the former version :) ?

Author:  SciLor [ Thu Dec 29, 2011 10:18 pm ]
Post subject:  Re: [2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha

The zip contains the .jar file. it sounds like you unpacked the jar file, too ;).

Just unpack the zip not the jar.

Page 1 of 2 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/