kwill1429 / pandora-musicbox

Automatically exported from code.google.com/p/pandora-musicbox
0 stars 0 forks source link

Pandora Read Only Mode Not Handled Gracefully #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the engine, plugin and CLI do not recognize the READ_ONLY error 
message that can occasionally be returned when rating a song. This situation 
should be properly packaged in the engine, and should be gracefully handled in 
the CLI and the Plugin.

Original issue reported on code.google.com by conrad.john on 22 Aug 2010 at 4:53

GoogleCodeExporter commented 9 years ago
Error info from when this popped up in the plugin:

ex.ErrorCode
UNKNOWN

ex.Message
"READONLY_MODE: Request cannot be completed at this time, please try again 
later."

ex.StackTrace
"   at PandoraMusicBox.Engine.PandoraIO.ExecuteRequest(PandoraUser user, 
Boolean useAuthToken, PandoraRequest request, Object[] paramList) in 
C:\\Projects\\pandora-musicbox\\Source\\Engine\\PandoraIO.cs:line 229\r\n   at 
PandoraMusicBox.Engine.PandoraIO.ExecuteRequest(PandoraUser user, 
PandoraRequest request, Object[] paramList) in 
C:\\Projects\\pandora-musicbox\\Source\\Engine\\PandoraIO.cs:line 181\r\n   at 
PandoraMusicBox.Engine.PandoraIO.RateSong(PandoraUser user, PandoraStation 
station, PandoraSong song, PandoraRating rating) in 
C:\\Projects\\pandora-musicbox\\Source\\Engine\\PandoraIO.cs:line 82\r\n   at 
PandoraMusicBox.Engine.MusicBox.<>c__DisplayClass1.<RateSong>b__0() in 
C:\\Projects\\pandora-musicbox\\Source\\Engine\\MusicBox.cs:line 166\r\n   at 
PandoraMusicBox.Engine.MusicBox.VerifyAndExecute(ExecuteDelegate logic) in 
C:\\Projects\\pandora-musicbox\\Source\\Engine\\MusicBox.cs:line 211"

Original comment by conrad.john on 22 Aug 2010 at 5:14

GoogleCodeExporter commented 9 years ago
Implemented in r52.

Original comment by conrad.john on 28 Aug 2010 at 10:01