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

Not getting MP3 files
http://forum.scilor.com/viewtopic.php?f=54&t=1777
Page 1 of 1

Author:  jusjoe99 [ Sat Sep 08, 2012 10:45 pm ]
Post subject:  Not getting MP3 files

When ever I try to download any song from the program I only get the .tmp file, when i just try to rename it from .tmp to .mp3 the file is corrupted. Also in the log at the bottom it says it deletes the mp3 instead of the temp. What is going on and What can I do to fix it.

Code:
[9/8/2012 4:27:36 PM] Start downloading Jason DeRülo-Ridin' Solo.mp3
[9/8/2012 4:27:37 PM] Error: System.Exception - Cannot deserialize JSON array (i.e. [1,2,3]) into type 'SciLorsGroovesharkAPI.Groove.Functions.GetStreamKeyFromSongIDEx+GetStreamKeyFromSongIDExResult'.
The deserialized type must be an array or implement a collection interface like IEnumerable, ICollection or IList.
To force JSON arrays to deserialize add the JsonArrayAttribute to the type. Path 'result.24399764', line 1, position 130. ({"header":{"session":"be2ab54cbe9101ff21b1a6c640c3523f","serviceVersion":"20100903","prefetchEnabled":true},"result":{"24399764":[]}}) - "C:\Users\Justin Forlenza\Music\Jason DeRülo-Ridin' Solo.mp3" deleted!

Author:  SciLor [ Sun Sep 09, 2012 9:06 am ]
Post subject:  Re: Not getting MP3 files

That look very weird. I will check that.

There is the problem within the downloader. There seems to be a different format for those JSON request/responses to conenct to Grooveshark(tm).com.

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