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 2 of 2

Author:  sérane [ Sat Dec 31, 2011 3:26 pm ]
Post subject:  Re: [2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha

Damn OSX extraction tool sucks sometimes!

I'll try and keep you in touch...

Author:  sérane [ Sat Dec 31, 2011 4:48 pm ]
Post subject:  Re: [2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha

Ok, search is working anytime now!

Meanwhile, after some downloads (couldn't say how many, it seems to be variable) I cannot get any more song. See the error on an example:
Code:
 

java -jar SciLorsJGroovesharkDownloader.jar /c /d "Calle Real - Princesa (Timba)" 1
SciLor's Java grooveshark(tm).com Downloader Pre-Alpha v11
Arguments:
"/c" "/d" "Calle Real - Princesa (Timba)" "1"

Download: Calle Real - Princesa (Timba)
java.lang.Exception: Create Response Error: Response serialisation Error: Expecting object found: [] (
{"header":{"session":"d8c6786a70808ffc345ea5d7063ea0e2","serviceVersion":"20100903","prefetchEnabled":true},"result":[]})
   at Base.GroovesharkRequestBuilder.CreateResponse(GroovesharkRequestBuilder.java:113)
   at Base.GroovesharkRequestBuilder.MakeRequest(GroovesharkRequestBuilder.java:175)
   at Base.GroovesharkClient.GetMusicStream(GroovesharkClient.java:267)
   at Downloader.JGroovesharkDownloader.downloadSong(JGroovesharkDownloader.java:203)
   at Downloader.JGroovesharkDownloader.downloadSongFromSearch(JGroovesharkDownloader.java:176)
   at Downloader.JGroovesharkDownloader.main(JGroovesharkDownloader.java:95)
   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: Expecting object found: [] (
{"header":{"session":"d8c6786a70808ffc345ea5d7063ea0e2","serviceVersion":"20100903","prefetchEnabled":true},"result":[]})



If I wait for let's say, one hour, I can download again...

Author:  SciLor [ Sun Jan 08, 2012 1:02 pm ]
Post subject:  Re: [2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha

Please try this version

Attachments:
SciLorsJGroovesharkDownloaderPreAlpha11.zip [222.85 KiB]
Downloaded 168 times

Author:  sérane [ Sun Jan 15, 2012 5:18 pm ]
Post subject:  Re: [2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha

Still works for the 50 first songs I download in a row.

For the 51st and more, here's the error:

Code:

[Lex@MacaLex:GroovesharkDownloader] java -jar SciLorsJGroovesharkDownloader.jar /c /d "el dinero timbalive" 1
SciLor's Java grooveshark(tm).com Downloader Pre-Alpha v11
Arguments:
"/c" "/d" "el dinero timbalive" "1"

Download: Timbalive - El Dinero
java.lang.Exception: Create Response Error: Response serialisation Error: Expecting array but found object: Functions.GetStreamKeyFromSongIDEx$GetStreamKeyFromSongIDExResult@93dcd (
{"header":{"session":"53f07477b6be195888dd4fecfa9f2080","serviceVersion":"20100903","prefetchEnabled":true},"result":{"28153434":[]}})
   at Base.GroovesharkRequestBuilder.CreateResponse(GroovesharkRequestBuilder.java:113)
   at Base.GroovesharkRequestBuilder.MakeRequest(GroovesharkRequestBuilder.java:175)
   at Base.GroovesharkClient.GetMusicStream(GroovesharkClient.java:276)
   at Downloader.JGroovesharkDownloader.downloadSong(JGroovesharkDownloader.java:203)
   at Downloader.JGroovesharkDownloader.downloadSongFromSearch(JGroovesharkDownloader.java:176)
   at Downloader.JGroovesharkDownloader.main(JGroovesharkDownloader.java:95)
   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: Expecting array but found object: Functions.GetStreamKeyFromSongIDEx$GetStreamKeyFromSongIDExResult@93dcd (
{"header":{"session":"53f07477b6be195888dd4fecfa9f2080","serviceVersion":"20100903","prefetchEnabled":true},"result":{"28153434":[]}})


Author:  SciLor [ Sun Jan 22, 2012 2:23 am ]
Post subject:  Re: [2011-11-19]SciLor's JGrooveshark™.com Downloader Alpha

Should be fixed with the next version!

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