artem-zinnatullin / android-wail-app

DEPRECATED Android Last.fm scrobbler. Recruiters: please don't look at this project.
MIT License
121 stars 36 forks source link

After Last.fm website update Scrobbling issue #201

Closed keyursakaria closed 7 years ago

keyursakaria commented 9 years ago

Hey there,

After the new last fm website update the application is unable to scrobble either its scrobbling... or scrobble error. I logged out and sign in again it worked for a while and then again it stopped scrobbling.

nIELSEn74 commented 9 years ago

same for me, the best of all scrobblers stopped scrobbling - but after logging out i can't even log in to last.fm any more via wail

ilya-murzinov commented 9 years ago

@nIELSEn74 what kind of error do you get when trying to log in?

nIELSEn74 commented 9 years ago

hello ilya,

in the meantime it's possible to login, but the connection between wail and last.fm still fails Am 23.08.2015 20:32 schrieb "Ilya Murzinov" notifications@github.com:

@nIELSEn74 https://github.com/nIELSEn74 what kind of error do you get?

— Reply to this email directly or view it on GitHub https://github.com/artem-zinnatullin/android-wail-app/issues/201#issuecomment-133894813 .

Mastinae commented 9 years ago

I'm also having this issue.

I receive a "Last.fm error: Value <?xml of type java.lang.String cannot be converted to JSONObject" message when I try to refresh the app.

nIELSEn74 commented 9 years ago

now that the wail-app got connected to last.fm it can't scrobble anyway :( Am 23.08.2015 20:32 schrieb "Ilya Murzinov" notifications@github.com:

@nIELSEn74 https://github.com/nIELSEn74 what kind of error do you get?

— Reply to this email directly or view it on GitHub https://github.com/artem-zinnatullin/android-wail-app/issues/201#issuecomment-133894813 .

kasoban commented 9 years ago

I receive a "Last.fm error: Value <?xml of type java.lang.String cannot be converted to JSONObject" message when I try to refresh the app.

Can confirm this behavior with wail 0.7.5 beta, it only happens through the "refresh"/"update" action on the dashboard view though.

Scrobbling still works fine for me.

Update: Upon further inspection I noticed that my total play count in the wail app does not update, which is the first API operation done in onResume of main fragment activity.

From this, in combination with the error message, I assume the JSON parsing fails at https://github.com/artem-zinnatullin/android-wail-app/blob/master/wail-app/src/main/java/com/artemzin/android/wail/storage/WAILSettings.java#L263 which means LFUserResponseModel.java will have to be adapted to some Last.fm changes.