Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deauthorizes at random moments. #27

Open
OdinGitDat opened this issue Jan 5, 2021 · 6 comments
Open

Deauthorizes at random moments. #27

OdinGitDat opened this issue Jan 5, 2021 · 6 comments

Comments

@OdinGitDat
Copy link

Since a few weeks authorization is lost about once per day. I need to go into settings and request authorization again to fix until it happens again.

I caught the moment where deauthorization happened in the console:

Opening track for playback: "D:\Music Library\Flying Lotus - Cosmogramma (2010)\06 - Flying Lotus - Computer Facepure Being.mp3"
Minibar scanning D:\Music Library\Flying Lotus - Cosmogramma (2010)\06 - Flying Lotus - Computer Facepure Being.mp3
foo_scrobble: Submitting track
Track scanned in 224.423 ms
Querying last.fm: http://ws.audioscrobbler.com/2.0/?method=user.getTrackScrobbles&api_key=a1685abe5265b93cf2be4a70d181bf6b&user=Odinoss&artist=Flying Lotus&track=Computer Face//pure Being&limit=200&format=json&page=1
last.fm Error: Operation failed - Most likely the backend service failed. Please try again.
Found 0 scrobbles in last.fm (since last known scrobble at 2015-07-24 23:21:05) of "Computer Face//pure Being"
foo_scrobble: NowPlaying notification failed (error: 4, No permissions to access the service.)
Opening track for playback: "D:\Music Library\Flying Lotus - Cosmogramma (2010)\07 - Flying Lotus - ...and The World Laughs With You.mp3"
Minibar scanning D:\Music Library\Flying Lotus - Cosmogramma (2010)\07 - Flying Lotus - ...and The World Laughs With You.mp3
foo_scrobble: Queuing scrobble (Unauthenticated)
@frogworth
Copy link

This happens to me all the time too.

@frogworth
Copy link

This is happening really frequently. In the absence of an actual fix, it would be good to have some way outside of the Console of being notified when authorization is lost...

gix added a commit that referenced this issue Mar 28, 2021
It is currently unclear whether last.fm's error code 4 (no permissions) is
only an intermittent error or not.
gix added a commit that referenced this issue Mar 28, 2021
It is currently unclear whether last.fm's error code 4 (no permissions) is
only an intermittent error or not.
@gix
Copy link
Owner

gix commented Mar 28, 2021

I've removed resetting authentication when last.fm returns "error: 4". Please let me know how this works out as I never experience this error myself.

@frogworth
Copy link

Thanks so much. I've installed it and will monitor the authentication state.

@RollingStar
Copy link

I seem to lose authorization within a matter of minutes. last.fm settings doesn't even show the component in the list of authenticated apps. I used Firefox (default browser) to complete the auth when I requested authorization in foobar. Windows 10 pro x64.

@gix
Copy link
Owner

gix commented Nov 1, 2023

last.fm settings doesn't even show the component in the list of authenticated apps

Then you didn't complete the authorization process. foo_scrobble cannot remove itself from that list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants