Last.fm scrobbling not working on 4.7

Need help? Post your questions here.

Moderator: moderators

Last.fm scrobbling not working on 4.7

Postby courageousrobot » Sun Nov 11, 2012 10:35 pm

Since installing 4.7, scrobbling has stopped working.

Will be happy to provide whatever logs are necessary if I can be instructed where to find them and what to look for.

Thank you.
courageousrobot
 
Posts: 12
Joined: Tue Apr 12, 2011 12:25 am

Re: Last.fm scrobbling not working on 4.7

Postby courageousrobot » Tue Nov 13, 2012 2:50 am

Where can I find whatever logs you might need to help diagnose this problem?
courageousrobot
 
Posts: 12
Joined: Tue Apr 12, 2011 12:25 am

Re: Last.fm scrobbling not working on 4.7

Postby hakko » Tue Nov 13, 2012 6:13 am

There's a file called subsonic.log. You haven't told what platform you're on but on Windows for example it's found in C:/subsonic.

According to the source code, it looks like you should get output like this if scrobbling fails: "Failed to scrobble song"

http://svn.code.sf.net/p/subsonic/code/ ... rvice.java

I'm not using 4.7 though so I don't know how it behaves in detail.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Last.fm scrobbling not working on 4.7

Postby hakko » Tue Nov 13, 2012 7:10 am

Also, if you listen to music from an app, it's the responsibility of the app to scrobble. If you listen via the Subsonic app in jukebox mode, it doesn't seem to scrobble for some reason.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Last.fm scrobbling not working on 4.7

Postby courageousrobot » Thu Nov 15, 2012 2:03 am

hakko wrote:There's a file called subsonic.log. You haven't told what platform you're on but on Windows for example it's found in C:/subsonic.

According to the source code, it looks like you should get output like this if scrobbling fails: "Failed to scrobble song"

http://svn.code.sf.net/p/subsonic/code/ ... rvice.java

I'm not using 4.7 though so I don't know how it behaves in detail.



Okay thanks...

Now it's time for me to openly admit that this was my f***up:

Sitting right there in the logs is "Failed to scrobble song 'Ambition as a Hellridah' at Last.fm. Wrong username or password."

I didn't even TRY to check the password. And to think that I once worked on a helpdesk.

In my defense, I didn't change anything... but something must have gotten jacked up in the update to 4.7... still though, some basic troubleshooting should have been able to figure that one out.

Thanks again.
courageousrobot
 
Posts: 12
Joined: Tue Apr 12, 2011 12:25 am

Re: Last.fm scrobbling not working on 4.7

Postby rolle » Thu Nov 15, 2012 10:07 am

My scrobblings in web are not working either. I just get "Succesfully registered now playing. So the "now playing" shows up in last.fm profile, but after the song has played, it doesn't get submitted...

[2012-11-15 11:38:15,553] INFO PlayQueueInputStream - admin listening to "Septic Flesh - Communion (2008)/02-annubis.mp3"
[2012-11-15 11:38:15,773] DEBUG AudioScrobblerService - Successfully registered now playing for song 'Anubis' for user rolle- at Last.fm: Thu Nov 15 11:38:15 EET 2012
[2012-11-15 11:42:34,856] INFO StreamController - Got range: Range[0,9223372036854775807]
[2012-11-15 11:42:34,857] INFO PlayQueueInputStream - admin listening to "Septic Flesh - Communion (2008)/04-babel's gate.mp3"
[2012-11-15 11:42:35,409] DEBUG AudioScrobblerService - Successfully registered now playing for song 'Babel's Gate' for user rolle- at Last.fm: Thu Nov 15 11:42:34 EET 2012


However, on Android:

[2012-11-14 22:21:41,345] INFO PlayQueueInputStream - admin listening to "Alcest - Les voyages de l'âme (2012)/01. Autre Temps (Album Version).mp3"
[2012-11-14 22:21:41,955] DEBUG AudioScrobblerService - Successfully registered now playing for song 'Autre Temps' for user rolle- at Last.fm: Wed Nov 14 22:21:41 EET 2012
[2012-11-14 22:21:43,117] DEBUG AudioScrobblerService - Successfully registered submission for song 'Autre Temps' for user rolle- at Last.fm: Wed Nov 14 22:21:42 EET 2012


Last.fm is the only reason I use Subsonic, so please fix this!

Using the most recent version.

Thanks!

EDIT: Using openSUSE 12.1 Linux, clean subsonic standalone installation. This happens on normal Web client and MiniSub. The tracks never get submitted... Official Android app works just fine.
User avatar
rolle
 
Posts: 9
Joined: Thu Nov 15, 2012 10:04 am

Re: Last.fm scrobbling not working on 4.7

Postby rolle » Thu Nov 15, 2012 5:15 pm

Bump. Sorry, but this really prevents me from using Subsonic on computer... any hint?
User avatar
rolle
 
Posts: 9
Joined: Thu Nov 15, 2012 10:04 am

Re: Last.fm scrobbling not working on 4.7

Postby rolle » Thu Nov 15, 2012 5:20 pm

Sorry for the triple post, but here's the about section (using subsonic in finnish language):

Versio 4.7 (build 3105) – 11. syyskuuta 2012
Serveri jetty-6.1.x, java 1.6.0_24, Linux (46,2 MB / 89,9 MB)
Lisenssi Subsonic is free software distributed under the GPL open-source license. Subsonic uses licensed third-party libraries.
Kotisivu subsonic.org
Foorumi forum.subsonic.org
Yhteystiedot Subsonic ohjelman on kehittänyt ja ylläpitää Sindre Mehus (sindre@activeobjects.no). Jos sinulla on kysyttävää, kommentoitavaa tai parannusehdotuksia ohjelmaan, vieraile Subsonic Foorumissa.
Subsonic on ilmainen, mutta voit tukea projektia antamalla sille lahjoituksen.
Loki
[15.11.2012 klo 14.23.31] INFO DaoHelper Checking database schema.
[15.11.2012 klo 14.23.39] INFO DaoHelper Done checking database schema.
[15.11.2012 klo 14.23.39] INFO PlayerDao Deleted 3 player(s) that haven't been used after Sun Sep 16 14:23:39 EEST 2012
[15.11.2012 klo 14.23.40] INFO MediaScannerService Automatic media library scanning scheduled to run every 1 day(s), starting at Fri Nov 16 03:00:00 EET 2012
[15.11.2012 klo 14.23.40] INFO PodcastService Automatic Podcast update scheduled to run every 24 hour(s), starting at Thu Nov 15 14:28:40 EET 2012
[15.11.2012 klo 14.23.46] WARN NetworkService No UPnP router found.
[15.11.2012 klo 14.28.40] INFO PodcastService Starting scheduled Podcast refresh.
[15.11.2012 klo 14.28.40] INFO PodcastService Completed scheduled Podcast refresh.
[15.11.2012 klo 18.03.50] INFO PlayQueueInputStream admin listening to "Forgotten Tomb - ...And Don't Deliver Us from Evil (2012)/01- Deprived.mp3"
[15.11.2012 klo 18.03.54] DEBUG AudioScrobblerService Successfully registered now playing for song 'Deprived' for user rolle- at Last.fm: Thu Nov 15 18:03:54 EET 2012
[15.11.2012 klo 18.05.06] INFO PlayQueueInputStream admin listening to "Forgotten Tomb - ...And Don't Deliver Us from Evil (2012)/02- And Don't Deliver Us From Evil.mp3"
[15.11.2012 klo 18.06.20] INFO PlayQueueInputStream admin listening to "Forgotten Tomb - ...And Don't Deliver Us from Evil (2012)/03- Cold Summer.mp3"
[15.11.2012 klo 18.08.46] INFO PlayQueueInputStream admin listening to "Forgotten Tomb - ...And Don't Deliver Us from Evil (2012)/04- Let's Torture Each Other.mp3"
[15.11.2012 klo 18.10.10] DEBUG AudioScrobblerService Successfully registered submission for song 'Deprived' for user rolle- at Last.fm: Thu Nov 15 18:10:08 EET 2012
[15.11.2012 klo 18.10.12] DEBUG AudioScrobblerService Successfully registered now playing for song 'And Don't Deliver Us From Evil' for user rolle- at Last.fm: Thu Nov 15 18:10:09 EET 2012
[15.11.2012 klo 18.10.26] INFO PlayQueueInputStream admin listening to "Forgotten Tomb - ...And Don't Deliver Us from Evil (2012)/05- Love Me Like You'd Love The Death.mp3"
[15.11.2012 klo 18.17.53] INFO PlayQueueInputStream admin listening to "Forgotten Tomb - ...And Don't Deliver Us from Evil (2012)/06- Adrift.mp3"
[15.11.2012 klo 18.17.53] DEBUG AudioScrobblerService Successfully registered submission for song 'And Don't Deliver Us From Evil' for user rolle- at Last.fm: Thu Nov 15 18:17:53 EET 2012
[15.11.2012 klo 18.17.54] DEBUG AudioScrobblerService Successfully registered now playing for song 'Cold Summer' for user rolle- at Last.fm: Thu Nov 15 18:17:53 EET 2012
[15.11.2012 klo 18.26.27] INFO PlayQueueInputStream admin listening to "Forgotten Tomb - ...And Don't Deliver Us from Evil (2012)/07- Nulifying Tomorrow.mp3"
[15.11.2012 klo 18.26.27] DEBUG AudioScrobblerService Successfully registered submission for song 'Cold Summer' for user rolle- at Last.fm: Thu Nov 15 18:26:27 EET 2012
[15.11.2012 klo 18.26.28] DEBUG AudioScrobblerService Successfully registered now playing for song 'Let's Torture Each Other' for user rolle- at Last.fm: Thu Nov 15 18:26:27 EET 2012
[15.11.2012 klo 18.32.30] DEBUG AudioScrobblerService Successfully registered submission for song 'Let's Torture Each Other' for user rolle- at Last.fm: Thu Nov 15 18:32:29 EET 2012
[15.11.2012 klo 18.32.30] DEBUG AudioScrobblerService Successfully registered now playing for song 'Love Me Like You'd Love The Death' for user rolle- at Last.fm: Thu Nov 15 18:32:29 EET 2012
[15.11.2012 klo 18.41.11] DEBUG AudioScrobblerService Successfully registered submission for song 'Love Me Like You'd Love The Death' for user rolle- at Last.fm: Thu Nov 15 18:41:11 EET 2012
[15.11.2012 klo 18.41.12] DEBUG AudioScrobblerService Successfully registered now playing for song 'Adrift' for user rolle- at Last.fm: Thu Nov 15 18:41:11 EET 2012
[15.11.2012 klo 18.48.59] DEBUG AudioScrobblerService Successfully registered submission for song 'Adrift' for user rolle- at Last.fm: Thu Nov 15 18:48:58 EET 2012
[15.11.2012 klo 18.49.00] DEBUG AudioScrobblerService Successfully registered now playing for song 'Nulifying Tomorrow' for user rolle- at Last.fm: Thu Nov 15 18:48:58 EET 2012
[15.11.2012 klo 18.57.03] INFO StreamController Got range: Range[0,9223372036854775807]
[15.11.2012 klo 18.57.03] INFO PlayQueueInputStream admin listening to "Heretoir - Heretoir (2011)/Heretoir - Graue Bauten.mp3"
[15.11.2012 klo 18.57.03] DEBUG AudioScrobblerService Successfully registered now playing for song 'Graue Bauten' for user rolle- at Last.fm: Thu Nov 15 18:57:02 EET 2012
[15.11.2012 klo 19.03.12] INFO StreamController Got range: Range[0,9223372036854775807]
[15.11.2012 klo 19.03.12] INFO PlayQueueInputStream admin listening to "Heretoir - Heretoir (2011)/Heretoir - The Escape - Part II.mp3"
[15.11.2012 klo 19.03.13] DEBUG AudioScrobblerService Successfully registered now playing for song 'The Escape - Part II' for user rolle- at Last.fm: Thu Nov 15 19:03:12 EET 2012
[15.11.2012 klo 19.16.57] INFO VersionService Resolved local Subsonic version to: 4.7
[15.11.2012 klo 19.16.57] INFO VersionService Resolved latest Subsonic final version to: 4.7
[15.11.2012 klo 19.16.57] INFO VersionService Resolved latest Subsonic beta version to: 4.7.beta3


As you can see, I used Android app between 18-18.49 and webclient after that.

Hope this helps.
User avatar
rolle
 
Posts: 9
Joined: Thu Nov 15, 2012 10:04 am

Re: Last.fm scrobbling not working on 4.7

Postby rolle » Sat Nov 17, 2012 5:42 pm

I installed http://dilerium.se/musiccabinet/ ... problem solved.
User avatar
rolle
 
Posts: 9
Joined: Thu Nov 15, 2012 10:04 am

Re: Last.fm scrobbling not working on 4.7

Postby hakko » Sat Nov 17, 2012 6:00 pm

It's worth to mention that Sindre is still running the old outdated scrobbling API (which requires saving everyone's last.fm password in clear text, which is bad security practice).

I've updated to the new scrobbling API in MusicCabinet, so that passwords stay a secret between your users and last.fm, and are never stored locally. I've also built it so that songs aren't scrobbled until they've played 80% of their length (instead of immediately, like they used to).

Feel free to use this in the main trunk, it's all open source.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden

Re: Last.fm scrobbling not working on 4.7

Postby macklinu » Tue Dec 04, 2012 12:40 am

I am having a similar issue with Subsonic 4.7 and Last.fm. Subsonic will correctly register when I am listening to a track on my Last.fm profile ("now playing"), but upon track completion, the track is not registered as played on Last.fm, hence no record of me listening to the track. I tried to install MusicCabinet, but the instructions were difficult to find for Ubuntu, and I don't think I installed it properly. Any way Last.fm scrobbling can be saved without further installing anything? I've attempted updating to Java 7 and restarting the Subsonic service multiple times. Here is some info - thanks!

Version:
Code: Select all
4.7 (build 3105) – September 11, 2012


Server:
Code: Select all
jetty-6.1.x, java 1.7.0_09, Linux (71.1 MB / 130.6 MB)


Log for a 19 second track that wasn't registered with Last.fm when playing was complete:
Code: Select all
[12/3/12 7:36:49 PM EST]   INFO   StreamController   Got range: Range[0,9223372036854775807]
[12/3/12 7:36:49 PM EST]   INFO   PlayQueueInputStream   macklinu listening to "Disc 1/33 - K2r.flac"
[12/3/12 7:36:49 PM EST]   DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/home/master/Music/Music_Download/Raymond Scott - Manhattan Research, Inc/Disc 1/33 - K2r.flac] [-ab] [320k] [-v] [0] [-f] [mp3] [-]
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) ffmpeg version N-31780-gd5d74cf, Copyright (c) 2000-2011 the FFmpeg developers
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) built on Aug 9 2011 14:18:27 with gcc 4.5.2
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) configuration: --disable-ffplay --disable-ffprobe --disable-ffserver --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-version3 --enable-bzlib --enable-static --disable-shared --extra-libs=-static --extra-cflags=--static
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libavutil 51. 11. 1 / 51. 11. 1
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libavcodec 53. 9. 1 / 53. 9. 1
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libavformat 53. 6. 0 / 53. 6. 0
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libavdevice 53. 2. 0 / 53. 2. 0
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libavfilter 2. 28. 1 / 2. 28. 1
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libswscale 2. 0. 0 / 2. 0. 0
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) [flac @ 0x9fb0a20] max_analyze_duration 5000000 reached at 5015510
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Input #0, flac, from '/home/master/Music/Music_Download/Raymond Scott - Manhattan Research, Inc/Disc 1/33 - K2r.flac':
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Metadata:
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) ALBUM : Manhattan Research, Inc.
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) ARTIST : Raymond Scott
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) DATE : 2000
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) disc : 1
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) GENRE : Electronic
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TITLE : K2r
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) track : 33
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Duration: 00:00:19.64, bitrate: 645 kb/s
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Stream #0.0: Audio: flac, 44100 Hz, stereo, s16
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Output #0, mp3, to 'pipe:':
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Metadata:
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TALB : Manhattan Research, Inc.
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TPE1 : Raymond Scott
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TDRL : 2000
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TPOS : 1
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TCON : Electronic
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TIT2 : K2r
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TRCK : 33
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) TSSE : Lavf53.6.0
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Stream #0.0: Audio: libmp3lame, 44100 Hz, stereo, s16, 320 kb/s
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Stream mapping:
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Stream #0.0 -> #0.0
[12/3/12 7:36:49 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) Press [q] to stop, [?] for help
[12/3/12 7:36:50 PM EST]   DEBUG   AudioScrobblerService   Successfully registered now playing for song 'K2r' for user macklinu at Last.fm: Mon Dec 03 19:36:49 EST 2012
[12/3/12 7:36:50 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) size= 769kB time=00:00:19.67 bitrate= 320.1kbits/s
[12/3/12 7:36:50 PM EST]   DEBUG   InputStreamReaderThread   (/var/subsonic/transcode/ffmpeg) video:0kB audio:768kB global headers:0kB muxing overhead 0.038256%
[12/3/12 7:36:50 PM EST]   WARN   RESTFilter   Error in REST API: Closed


Does the line at the end have anything to do with it?
Code: Select all
[12/3/12 7:36:50 PM EST]   WARN   RESTFilter   Error in REST API: Closed
macklinu
 
Posts: 2
Joined: Tue Dec 04, 2012 12:29 am

Re: Last.fm scrobbling not working on 4.7

Postby macklinu » Wed Dec 05, 2012 3:08 am

Nevermind, this is suddenly working again. My Android client was able to scrobble, and now I am able to scrobble via the web after using the Android client. Thanks!
macklinu
 
Posts: 2
Joined: Tue Dec 04, 2012 12:29 am


Return to Help

Who is online

Users browsing this forum: No registered users and 37 guests