Closed gitgetgot closed 6 years ago
Hi, i have the same problem. Any solution for this? maybe lastfm changed sth on their api ?
My fault: sudo did the trick ;)
sudo did the trick
PLEASE explain what you did, so others might find this useful too.
@gitgetgot Hey, can you verify if your env.js
file has api_key
, secret
, and sk
saved? The [ ❌ scrawble ERROR ❌ ] TypeError: Cannot read property 'key' of undefined
points to a potential issue with your session key (sk). According to the log, the plugin is sending the track info to your server, but tracks aren't being scrobbled. I suspect an issue with the session key.
@FTLam11 This is my env.js (####### for some privacy :-) )
process.env['API_KEY'] = '051aa00d87#######ffabc6##ae'
process.env['SECRET'] = '34b242ac7#######4ba9##3dfa9'
process.env['SK'] = 'N90P-QBbwh#######KiPF##cEk'
process.env['API_KEY'] = '05ae200#######04a5ff##638ae'
process.env['SECRET'] = '34be1242a#######4ba95d##fa9'
does that confirm your suspicion?
I think that your scobbling requests to Last.fm are using an invalid api_sig
. This field is generated by a combination of your API_KEY
and SECRET
. If you have the wrong combination, scrobbling won't work. https://www.last.fm/api/show/track.scrobble
You should only have one of each of the following: API_KEY
, SECRET
, and SK
. Need to figure out which ones are correct. Try removing the last two lines of your env.js
file (save them to another file) and then restart your NAS to restart the scrobbling server. If that doesn't work, swap out the API_KEY
and SECRET
and restart your NAS again.
If scrobbling still doesn't work, delete everything in your env.js
file and restart the Last.fm authorization process.
Thank you for your kind help. Starting all over did solve the 403 problem. Now, it scrobbles. :-)
@gitgetgot Awesome, glad you were able to get it working!
Hello,
question before: where is a logfile stored, where I can take a look whats happening? I now use the logfile from the installation process, which was showed in iTerm on my Mac. Is ther a separate logfile on the DS, which we can refer to?
Normal question:
Everything is set up fine (I guess), even the log looks like it is scrobbling, but nothing is updated in the last.fm site.