Bug 12268 - Official plugin scrobbling not working for Napster (and poss also Rhapsody tracks) in 7.4
: Official plugin scrobbling not working for Napster (and poss also Rhapsody tr...
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Last.fm
: 7.4.0
: PC Windows XP
: -- normal (vote)
: 7.4.0
Assigned To: Andy Grundman
: SQLite
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-04 13:33 UTC by Siduhe
Modified: 2009-10-05 14:33 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Siduhe 2009-06-04 13:33:33 UTC
As discussed with andyg on another bug report, scrobbling is not currently working for Napster tracks.  Andy, sorry - can't assign can only copy you in.  Let me know if you need more of the server.log:

This is an extract from my server.log

[09-06-04 21:14:00.1669] Slim::Plugin::AudioScrobbler::Plugin::submitNowPlaying
(563) Protocol Handler didn't return an artist and title for
napster://track:16677332.wma, ignoring
[09-06-04 21:14:00.1687] Slim::Plugin::AudioScrobbler::Plugin::newsongCallback
(490) Protocol Handler didn't return an artist and title for
napster://track:16677332.wma, ignoring
[09-06-04 21:14:11.6363]
Slim::Plugin::Napster::ProtocolHandler::_gotBulkMetadata (479) Caching metadata
for 20 tracks

------- Comment # From Andy Grundman 2009-06-04 13:19:56 (-) [reply] -------

It looks like the scrobbling code tried to submit now playing info before the
track metadata was received.  When you play a Napster or Rhapsody album or
playlist, the metadata is fetched in the background.  Not sure of the best way
to fix that, but it deserves a separate bug.
Comment 1 Siduhe 2009-06-04 13:38:50 UTC
Sorry - should have said this is with 7.4 - 26846 @ Thu Jun 4 01:10:57 PDT 2009
Comment 2 James Richardson 2009-06-04 14:05:15 UTC

*** This bug has been marked as a duplicate of bug 11321 ***
Comment 3 James Richardson 2009-06-04 14:06:38 UTC
(In reply to comment #2)
> 
> *** This bug has been marked as a duplicate of bug 11321 ***

Ignore this
Comment 4 Siduhe 2009-06-15 03:26:22 UTC
Andy, running 7.4v27063.  Scrobbling is not now working for Napster or Last.fm radio tracks (but continues to work fine for local tracks played).  As before, the track appears in Now Playing in the Last.fm site, but the final scrobble does not appear to take place, so the track just disappears after it has finished.

The only error message I can see is "[09-06-15 11:16:19.1469] Slim::Control::Request::notify (2080) Error: Failed notify: Not a HASH reference at C:/PROGRA~1/SQUEEZ~3/server/Slim/Plugin/AudioScrobbler/Plugin.pm line 495."

Relevant Last.fm log below:

[09-06-15 11:11:35.4995] Slim::Plugin::AudioScrobbler::Plugin::_submitNowPlayingOK (608) Now Playing track submitted successfully
[09-06-15 11:11:38.7720] Slim::Plugin::LastFM::ProtocolHandler::getNextTrack (134) Getting next track from SqueezeNetwork (http://www.squeezenetwork.com/api/lastfm/v1/playback/getNextTrack?station=user%2Fsiduhe%2Fpersonal&isScrobbling=1&discovery=0&account=siduhe)
[09-06-15 11:11:39.9568] Slim::Plugin::LastFM::ProtocolHandler::_gotNextTrack (157) Got Last.fm track: {
  album      => "The Best of Outkast",
  canSkip    => 1,
  creator    => "OutKast",
  extension  => {
                  albumid      => 1_412_665,
                  albumpage    => "http://www.last.fm/music/OutKast/The+Best+of+Outkast",
                  application  => "http://www.last.fm",
                  artistid     => 250,
                  artistpage   => "http://www.last.fm/music/OutKast",
                  buyAlbumURL  => undef,
                  buyTrackURL  => "http://www.last.fm/affiliate_redirect.php?restype=9&id=1015984&supplier=24",
                  freeTrackURL => undef,
                  recording    => 1_015_984,
                  trackauth    => "752a1",
                  trackpage    => "http://www.last.fm/music/OutKast/_/B.O.B.",
                },
  identifier => 1_015_984,
  image      => undef,
  location   => "http://s19.last.fm/user/2478697/6d3c68f63bc002533c40726ae9e8b6b2/366/0025041427/cc6fa322b65c5e2d28a32249a55eb05f/1245060702/25/391879538/reg/1/0/128.mp3",
  secs       => 303,
  title      => "B.O.B.",
}
[09-06-15 11:11:40.2322] Slim::Plugin::AudioScrobbler::Plugin::submitNowPlaying (581) Submitting Now Playing track to Last.fm: s=94e1883804c04f59bcfbd25cae63a5fe&a=OutKast&t=B.O.B.&b=The%20Best%20of%20Outkast&l=303&n=&m=
[09-06-15 11:11:40.2362] Slim::Control::Request::notify (2080) Error: Failed notify: Not a HASH reference at C:/PROGRA~1/SQUEEZ~3/server/Slim/Plugin/AudioScrobbler/Plugin.pm line 495.
[09-06-15 11:11:40.3112] Slim::Plugin::AudioScrobbler::Plugin::_submitNowPlayingOK (608) Now Playing track submitted successfully


[09-06-15 11:16:09.1593] Slim::Plugin::LastFM::ProtocolHandler::getNextTrack (134) Getting next track from SqueezeNetwork (http://www.squeezenetwork.com/api/lastfm/v1/playback/getNextTrack?station=user%2Fsiduhe%2Fpersonal&isScrobbling=1&discovery=0&account=siduhe)
[09-06-15 11:16:10.3655] Slim::Plugin::LastFM::ProtocolHandler::_gotNextTrack (157) Got Last.fm track: {
  album      => "Abattoir Blues",
  canSkip    => 1,
  creator    => "Nick Cave and the Bad Seeds",
  extension  => {
                  albumid      => 1_435_887,
                  albumpage    => "http://www.last.fm/music/Nick+Cave+and+the+Bad+Seeds/Abattoir+Blues",
                  application  => "http://www.last.fm",
                  artistid     => 1_001_169,
                  artistpage   => "http://www.last.fm/music/Nick+Cave+and+the+Bad+Seeds",
                  buyAlbumURL  => "http://www.last.fm/affiliate_sendto.php?link=labshop&prod=1435887&rt=8&s=7",
                  buyTrackURL  => undef,
                  freeTrackURL => undef,
                  recording    => 7_680_235,
                  trackauth    => 67_936,
                  trackpage    => "http://www.last.fm/music/Nick+Cave+and+the+Bad+Seeds/_/Let+the+Bells+Ring",
                },
  identifier => 7_680_235,
  image      => "http://userserve-ak.last.fm/serve/174s/8670395.jpg",
  location   => "http://s9.last.fm/user/2478697/b1a4886adc434199e53facc32cf9dcb3/238/0018101141/1dba0c8c112157da08d96fbecd7c165d/1245060973/25/391887670/reg/1/0/128.mp3",
  secs       => 265,
  title      => "Let the Bells Ring",
}
[09-06-15 11:16:19.1430] Slim::Plugin::AudioScrobbler::Plugin::submitNowPlaying (581) Submitting Now Playing track to Last.fm: s=94e1883804c04f59bcfbd25cae63a5fe&a=Nick%20Cave%20and%20the%20Bad%20Seeds&t=Let%20the%20Bells%20Ring&b=Abattoir%20Blues&l=265&n=&m=
[09-06-15 11:16:19.1469] Slim::Control::Request::notify (2080) Error: Failed notify: Not a HASH reference at C:/PROGRA~1/SQUEEZ~3/server/Slim/Plugin/AudioScrobbler/Plugin.pm line 495.
Comment 5 Andy Grundman 2009-06-15 11:33:59 UTC
Fixed in change 27089.
Comment 6 James Richardson 2009-10-05 14:33:23 UTC
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server!
    * SqueezeCenter: 28672
    * Squeezebox 2 and 3: 130
    * Transporter: 80
    * Receiver: 65
    * Boom: 50
    * Controller: 7790
    * Radio: 7790  

Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.