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

last.fm scrobbling not working? #106

Open
timtomch opened this issue Nov 26, 2020 · 4 comments
Open

last.fm scrobbling not working? #106

timtomch opened this issue Nov 26, 2020 · 4 comments
Labels

Comments

@timtomch
Copy link

Hi there and first of all, merci beaucoup for developing this amazing little plugin! Love FIP and I've been waiting for a way to integrate it better in my music consumption :)

However, one of the features I was really looking forward to was scrobbling on last.fm, however I don't seem to get it to work. I'm using the Firefox (v83.0 / 64 bit) plugin on macOS (10.14.6). I'm able to successfully authenticate with last.fm from the extension settings, the plug in shows up on the list of approved apps on last.fm but no scrobbles are appearing. I tried disabling and re-enabling, nothing! Any idea what I could do to troubleshoot?

@thom4parisot
Copy link
Owner

You're bienvenue 👍

I can reproduce the problem, so it's clearly not on your side.

I can't tell when I will fix it, but that's a bug to clear.

@timtomch
Copy link
Author

timtomch commented Feb 7, 2021

Bonjour @oncletom
I would be interested in trying to help debug this issue, as I'm learning Node. I was able to successfully build the extension locally and load it in Chrome and Firefox. However, I think the last.fm API isn't loading for some reason. The last.fm options aren't showing up on the extension settings popup. Any hints?
Happy to chat on a different channel (en français :) if you prefer.

Cheers.

@skjerns
Copy link

skjerns commented Sep 29, 2021

any chance to fix this? would be awesome!!

@thom4parisot
Copy link
Owner

thom4parisot commented Oct 2, 2021

Hi both of you, and sorry @timtomch, I totally skipped your proposal, which I love so thank you!

There is something implicit and undocumented to make it work on a development machine: set 2 two environment variables LAST_FM_KEY and LAST_FM_SECRET. When available in development mode, the interface shows up Last.fm related stuff:

https://github.com/oncletom/webextension-fip/blob/812d03e794e349b8c74e729c0cbe9106dfaea1a0/src/lib/lastfm.js#L57-L59

The Last.fm Key and Secrets are provided once when you create a Last.fm Dev account. I'm not sure a callback URL is required, as it's set by the extension to match with the internal extension URL:

https://github.com/oncletom/webextension-fip/blob/812d03e794e349b8c74e729c0cbe9106dfaea1a0/src/options/scrobbling-controller.js#L32-L38

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

No branches or pull requests

3 participants