Pandora One here too.
Pandora One here too.
public void getFile(Byte Files, string filename)
if (filename.ToLower() != "quick mix")
filename = HttpUtility.UrlEncode(filename);
if (File.Exists(DPath + "Support_Files\\" + filename + ".jpg"))
return; //dont need to redownload
FileStream fs = new FileStream(DPath + "Support_Files\\" + filename + ".jpg", FileMode.Create, FileAccess.ReadWrite, FileShare.Write);
fs.Write(Files, 0, Files.Length);
Ive been trying to pinpoint this track skip problem you guys are experiencing and i dont see how it can happen (in code). I have a timer which polls the following information:
-IsActive (is pandora the current RR Source)
-IsAuthorized (do we still have a valid connection to pandora)
-What is winamps state (playing/paused/stopped)
if and only if IsActive = true, IsAuthorized = true, and winamps status is stopped does RRPandora request the next track from Pandora. So basically something is stopping winamp and RRPandora is responding like it should in normal operation. So basically the question is what is stopping winamp?
Too funny!!!! I was just both gonna report this issue, and tell you what I have figured it out to be... :)
You need to first get the size of the album art b/c if its 0 then it doesn't exist and causes the PI to crash! As soon as i deleted all my stations that had no art from my phone, restarted rr and went to the Pandora screen, everything worked, lists, playting stations...
I only noticed b/c i looked in the support files fold and there was a empy stationlist txt, and two station's art, one that DL'd ok and the other one of which was 0 bytes and after checking with my phone, was the same station that had no art...
Oh and your welcome... ;)
My brother notice that if the album art does not load then the plugin skips to next track. Not sure if this helps.
Is it possible winamp is causing the problem? maybe something with the buffer size
In the meantime, i'm going to upload a new version tonight, it will fix the album art file size issue, HOPEFULLY fix visualizations (the code is pulled direct from Mitch's web radio source). Urge anyone having problems to try it.
Might have a breakthrough for people experiencing the song jumping! Doing some testing today.
.84 available. Did some tweaks that should help manage skipping tracks, hard for me to test as i dont really have the problem... but test this and report. At minimum the debug.txt should provide more information about what is passing the command to winamp to skip.