You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I mentioned in the title, sometimes when I'm scrobbling some data to last.FM I get this exception. Here is the stack trace:
at System.Convert.ToInt32(Double value)
at IF.Lastfm.Core.Api.Commands.Track.ScrobbleCommand.SetParameters()
at IF.Lastfm.Core.Api.Commands.PostAsyncCommandBase`1.<ExecuteAsyncInternal>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at IF.Lastfm.Core.Scrobblers.ScrobblerBase.<ScrobbleAsyncInternal>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at MusicBoxComponents.BackgroundScrobbler.<Run>d__1.MoveNext()
I'm using the SQLiteScrobbler with an SQLite file to store my cache.
@rikkit actually, turned out it was my out-of-process background task having trouble with parsing the JSON into a scrobble object.
Still, it would be great if you could add some sort of an indicator that the scrobble data is incorrect (throw specific exception when the scrobble or any of the required values is null or something to that effect).
As I mentioned in the title, sometimes when I'm scrobbling some data to last.FM I get this exception. Here is the stack trace:
I'm using the SQLiteScrobbler with an SQLite file to store my cache.
Here's the data I tried to scrobble:
Am I setting some value incorrectly?
Thank you!
Edit: Is this because of the
ChosenByUser
value? It seems to be the only parameter being set directly usingConvert.ToInt32
.The text was updated successfully, but these errors were encountered: