Last.FM scrobbling issue - 2010/02/25 13:15It looks like that I've got an issue with the Last.FM scrobbling. When playing a file with SwissCenter the file appears on the Last.FM user profile page, but is afterwards it simply dissapears from the list in stead of remembered.
Is any else having this problem, or is it just me ... or is it a problem with Last.FM?
regards, Klaas --------------------------------------------------------------------------- SwissCenter SVN 1387 Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3 Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15 Synology DS107+ (128), firmware: DSM 2.3-1118 Pinnacle SC200 / PCH A-110
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 2783
Re: Last.FM scrobbling issue - 2010/02/25 13:54Could be a Last.fm issue, or they've changed something. My recently played list hasn't been updated since the 20th
I'll look into it.Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208) Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32 Server : Windows 7 Home Premium 64bit Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD AV : Pioneer VSX-915 | Samsung LE40C650
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 2783
Re: Last.FM scrobbling issue - 2010/02/25 17:36Well Last.fm scrobbling is working fine here and there's no issues reported at their end.
In my case I had it temporarily disabled Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208) Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32 Server : Windows 7 Home Premium 64bit Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD AV : Pioneer VSX-915 | Samsung LE40C650
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 1305
Re: Last.FM scrobbling issue - 2010/02/26 09:03It appeared to be an old issue related to the player_id (see here); I completely forgot about it. For some reason the MAC address is not recognised.
However, by hard coding the MAC address in file '/ext/lastfm/last.fm' the issue is solved, but maybe you can have a glance when you've got some time.
regards, Klaas --------------------------------------------------------------------------- SwissCenter SVN 1387 Simese 2.5.10 / PHP 5.2.9-1 / MySQL 5.1.32 / Windows XP SP3 Apache 2.2.11 / PHP 5.2.10 / MySQL 5.1.34 / Linux Synology 2.6.15 Synology DS107+ (128), firmware: DSM 2.3-1118 Pinnacle SC200 / PCH A-110
| | The administrator has disabled public write access.
joelxy
User
Posts: 178
Re: Last.FM scrobbling issue - 2010/03/18 19:41Hi, your talking about Last.FM. I thought it was not working anymore since a long time. So I didnt try anymore. And still here its not working with my HDX. Anything I could do? Should be no difference to the PCH. Would really like to have this feature back.
Klaas, can you show me, where and how you put the MAC address in the file '/ext/lastfm/last.fm'
Thanks a lot
Joel!
[2010.03.19 00:02:23] Page Requested : http://192.168.178.31:8085/stream.php?session_id=aehruo3pugrjlaidl0a7ke1ep1&tracklist=background&media_type=1&idx=0&ext=.mp3 by client (192.168.178.24) [2010.03.19 00:02:23] Stream request [2010.03.19 00:02:24] Your local PHP time (2010.03.18 23:02:24) is 2 seconds behind GMT [2010.03.19 00:02:24] Attempting to login with username 'xxx' and encrypted password 'xxx' [2010.03.19 00:02:24] Sending HTTP POST Request to http://post.audioscrobbler.com:80/np_1.2 [2010.03.19 00:02:24] Column 'player_id' cannot be null [2010.03.19 00:02:24] insert into lastfm_scrobble_tracks (user_id,player_id,artist,title,album,length,track,play_start) values ('3',null,'Chicane','Offshore [Original Mix]','The Best of Chicane 1996-2008','420','1',1268953346)
[2010.03.18 22:33:16] Page Requested : http://192.168.178.31:8085/ext/lastfm/stream.php?session_id=fhl77bf2t714mtrp595lrftrt6&generate_pls&station=lastfm://artist/Vangelis/similarartists&x=.pls by client (192.168.178.24) [2010.03.18 22:33:16] Attempting to login with username 'xxx' and encrypted password 'xxx' [2010.03.18 22:33:16] Attempting to change station: lastfm://artist/Vangelis/similarartists [2010.03.18 22:33:16] ------------------------------------------------------------------------------ [2010.03.18 22:33:16] Page Requested : http://192.168.178.31:8085/ext/lastfm/stream.php?session_id=fhl77bf2t714mtrp595lrftrt6&now_playing&x=.jpg by client (192.168.178.24) [2010.03.18 22:33:16] Attempting to obtain now playing information [2010.03.18 22:33:17] Looking up artist : [2010.03.18 22:33:18] ------------------------------------------------------------------------------ [2010.03.18 22:33:18] Page Requested : http://192.168.178.31:8085/ext/lastfm/stream.php?session_id=fhl77bf2t714mtrp595lrftrt6&now_playing&x=.jpg by client (192.168.178.24) [2010.03.18 22:33:18] Attempting to obtain now playing information [2010.03.18 22:33:18] Looking up artist : [2010.03.18 22:33:51] ------------------------------------------------------------------------------ [2010.03.18 22:33:51] Page Requested : http://192.168.178.31:8085/ext/lastfm/stream.php?session_id=fhl77bf2t714mtrp595lrftrt6&now_playing&x=.jpg by client (192.168.178.24) [2010.03.18 22:33:51] Attempting to obtain now playing information [2010.03.18 22:33:51] Looking up artist : [2010.03.18 22:33:52] ------------------------------------------------------------------------------ [2010.03.18 22:33:52] Page Requested : http://192.168.178.31:8085/ext/lastfm/stream.php?session_id=fhl77bf2t714mtrp595lrftrt6&now_playing&x=.jpg by client (192.168.178.24) [2010.03.18 22:33:52] Attempting to obtain now playing information [2010.03.18 22:33:52] Looking up artist : [2010.03.18 22:33:53] ------------------------------------------------------------------------------ [2010.03.18 22:33:53] Page Requested : http://192.168.178.31:8085/ext/lastfm/stream.php?session_id=fhl77bf2t714mtrp595lrftrt6&now_playing&x=.jpg by client (192.168.178.24) [2010.03.18 22:33:53] Attempting to obtain now playing information [2010.03.18 22:33:54] Looking up artist : Player : (wired) HDX 1000 Server: Windows 7 Ultimate running on an Intel Pentium D 3.0 GHz, 2 GB RAM. ----------------------------------------------------------------------------------------------------
------------------------------------------ Swiss-SVN latest SIMESE 2.6.4 ----------------------------------------------------------------------------------------------------
------------------------------------------
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 2783
Re: Last.FM scrobbling issue - 2010/03/19 06:59Are you referring to Last.fm scrobbling or Last.fm radio?
Your logfile shows you trying to play Last.fm radio which is not working. The scrobbling is working though, although your logfile indicates you haven't entered your Last.fm account details: Attempting to login with username 'xxx' and encrypted password 'xxx'
You also have a problem with player_id which Klaas's fix may help with. Does your HDX have a static IP on the network?Players : Netgear EVA700 | Popcorn A-100 (091202) | Popcorn A-200 (100208) Webserver : Simese v2.6.4 | Apache 2.2.14 | PHP v5.2.12 | MySQL v5.1.32 Server : Windows 7 Home Premium 64bit Spec : Intel C2Q Q6600 - 4GB RAM - 3TB HDD AV : Pioneer VSX-915 | Samsung LE40C650
| | The administrator has disabled public write access.
the xxx is what I put, I just wanted to hide it here. The HDX IP is static on my network.
Thanks for your reply.
Joel!Player : (wired) HDX 1000 Server: Windows 7 Ultimate running on an Intel Pentium D 3.0 GHz, 2 GB RAM. ----------------------------------------------------------------------------------------------------
------------------------------------------ Swiss-SVN latest SIMESE 2.6.4 ----------------------------------------------------------------------------------------------------
------------------------------------------
| | The administrator has disabled public write access.
klaasvaak
User
Posts: 1305
Re: Last.FM scrobbling issue - 2010/03/19 16:17@Joel, Pls find attached my '/ext/lastfm/lastfm.php'-file; search for 'MAC ADDRESS' and plug in your MAC.