getmusicbee.com

Support => Bug Reports => Topic started by: SquidCudi on June 28, 2020, 10:50:24 PM

Title: Scrobbling broken after Last.fm username change
Post by: SquidCudi on June 28, 2020, 10:50:24 PM
I'm not sure how long it has been a feature, but Last.fm allows you to change your username now through its Pro tier. However doing so seems to break scrobbling in programs like MusicBee.

I'm able to log in without an error message and it displays the red icon, but once I finish a song it switches to the grey exclamation point and nothing is scrobbled.

This must be due to a change on Last.fm's part because it's also broken another scrobbling program that I use.

In ErrorLog.dat it displays:

Quote
6/28/2020 5:50:32 PM - 10.0.18363.0 - 3.3.7477.36291D - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at MusicBeePlugin.Plugin.currentTitle()
   at MusicBeePlugin.Plugin.imgCheck()
   at MusicBeePlugin.Plugin.ReceiveNotification(String sourceFileUrl, NotificationType type)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at #=zTfvMxKLRK5DxlK5aXQ==.#=z7lfsGMa0Kcwm()

LastFmScrobble.log says:
Quote
6/28/2020 5:50:27 PM - FAIL (4) Invalid username/password:
     Wire - The Other Window
Title: Re: Scrobbling broken after Last.fm username change
Post by: Steven on June 29, 2020, 08:59:05 AM
Click the scrobble button so scrobbling is turned off and then click it again to enter your new username and password.
Title: Re: Scrobbling broken after Last.fm username change
Post by: SquidCudi on June 29, 2020, 01:50:57 PM
That does not fix the issue unfortunately.
Title: Re: Scrobbling broken after Last.fm username change
Post by: Steven on June 29, 2020, 10:48:54 PM
invalid username and password is the error returned by last.fm so I am not sure what you expect me to do or why you think its a bug
Title: Re: Scrobbling broken after Last.fm username change
Post by: SquidCudi on June 29, 2020, 11:58:17 PM
Because it accepts my login without an error message until it comes time to actually scrobble a track. Then it doesn't know what to do. If I were to attempt to use my past username it would not accept it at all.

Like I said, I use an additional program to perform manual scrobbling which is also similarly experiencing issues. There's an open issue (https://github.com/coczero/Last.fm-Scrubbler-WPF/issues/88) on their github where you can read at least one other user having the same problem under the same circumstances.
Title: Re: Scrobbling broken after Last.fm username change
Post by: Steven on June 30, 2020, 12:09:50 AM
I wont be able to help.
Title: Re: Scrobbling broken after Last.fm username change
Post by: Goblet on June 30, 2020, 01:28:07 AM
Because it accepts my login without an error message until it comes time to actually scrobble a track. Then it doesn't know what to do. If I were to attempt to use my past username it would not accept it at all.

Like I said, I use an additional program to perform manual scrobbling which is also similarly experiencing issues. There's an open issue (https://github.com/coczero/Last.fm-Scrubbler-WPF/issues/88) on their github where you can read at least one other user having the same problem under the same circumstances.

+1. I tried to change my username the other day and also had the same error.

Curiously, if you change it back to your initial username (or at least the one that worked with MusicBee), it'll work again.
Title: Re: Scrobbling broken after Last.fm username change
Post by: thomxb on July 04, 2020, 12:44:25 AM
Changed my username on last.fm and since then I've had this same exact problem - I can connect fine but when the track's done playing the last.fm icon turns gray and hovering above it give me the "Last.fm login failed" message.

I tried changing my password, I tried *completely* deleting every single trace of musicbee on my computer and doing a fresh install and it still doesn't work.

Wondering if anyone found another solution cause Im not going back to my old username
Title: Re: Scrobbling broken after Last.fm username change
Post by: Steven on July 04, 2020, 01:28:42 AM
Your best bet is to report issues to last.fm
I dont have any special access to them
Title: Re: Scrobbling broken after Last.fm username change
Post by: thomxb on July 07, 2020, 01:09:17 AM
ok so I fixed it!
Apparently, you need to disconnect Musicbee from the applications on last.fm directly. Under setting => applications (see screenshot)(https://i.imgur.com/Kl3suNt.png)
Then I re-entered by new info in Musicbee, closed and reopened for good measure, and then everything worked!
Title: Re: Scrobbling broken after Last.fm username change
Post by: sveakul on July 07, 2020, 05:11:08 AM
Thanks for posting what worked for you so that others may benefit, which is what makes Forums valuable.
Title: Re: Scrobbling broken after Last.fm username change
Post by: frankz on July 07, 2020, 05:32:24 AM
Yeah, great info. Thanks.
Title: Re: Scrobbling broken after Last.fm username change
Post by: Zadion on July 21, 2020, 08:47:58 PM
This helped me too. Thanks!
Title: Re: Scrobbling broken after Last.fm username change
Post by: blackwood on August 25, 2020, 07:47:52 PM
just used this, thanks
Title: Re: Scrobbling broken after Last.fm username change
Post by: SoSquidTaste on September 18, 2020, 12:37:01 AM
ok so I fixed it!
Apparently, you need to disconnect Musicbee from the applications on last.fm directly. Under setting => applications (see screenshot)(https://i.imgur.com/Kl3suNt.png)
Then I re-entered by new info in Musicbee, closed and reopened for good measure, and then everything worked!

Oh my goodness, THANK YOU!

+1 that this was what fixed it for me too. It's been driving me *mad* for weeks now.

Thank you again, friend.
Title: Re: Scrobbling broken after Last.fm username change
Post by: krissasaur on January 16, 2021, 02:19:09 AM
ok so I fixed it!
Apparently, you need to disconnect Musicbee from the applications on last.fm directly. Under setting => applications (see screenshot)(https://i.imgur.com/Kl3suNt.png)
Then I re-entered by new info in Musicbee, closed and reopened for good measure, and then everything worked!

i love you