Scrobbling Issue...

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Scrobbling Issue...

dritter
Hello;

For a month now, when banshee scrobble's, it shows the current song scrobbling, but the website does not record it, so when the next song plays, it shows the current song (now different) as scrobbling but the previous song is no where to be found. I contacted Last.FM as I thought it was a website issue, but they said since it was a 3rd party scrobbler..they couldn't help me :(

It stopped work on Jan 30th...Dunno why...

I have purged Banshee and removed all files, re-installed Banshee and re-enabled Last.Fm Song reporting.
The issue hasn't gone away sadly.

Ubuntu 12.04LTS & Banshee 2.6.1

Any Ideas?

Thanks

Darryl
Reply | Threaded
Open this post in threaded view
|

Re: Scrobbling Issue...

IBBoard
I've just tested 2.6.2 on openSUSE and it seems to scrobble okay.

As it is reporting "now playing" then it is scrobbling something, and I
assume that means it is both logged in /and/ set to enable reporting
(since "now playing" is reporting and it doesn't seem to differentiate
between that and permanent scrobbling).

Try running Banshee from the command-line as "banshee --debug" and see
what output it gives when it tries to scrobble. Based on the source
code[1] then it should log something when it tries to queue a track to
scrobble, and it'll queue it when it is valid (long enough to bother
with and is a music file) and you've played enough of it (half of the
track or 4mins, whichever is shorter).

Also, check what is in
~/.cache/banshee-1/extensions/lastfm/audioscrobbler-queue.xml - Banshee
appears to cache scrobblings there [2], if they fail, so you might have
a month's worth of tracks queued but not scrobbled because of an error.


[1]
https://git.gnome.org/browse/banshee/tree/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/AudioscrobblerService.cs#n281
[2]
https://git.gnome.org/browse/banshee/tree/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Audioscrobbler/Queue.cs#n197


On 28/02/14 20:30, dritter wrote:

> Hello;
>
> For a month now, when banshee scrobble's, it shows the current song
> scrobbling, but the website does not record it, so when the next song plays,
> it shows the current song (now different) as scrobbling but the previous
> song is no where to be found. I contacted Last.FM as I thought it was a
> website issue, but they said since it was a 3rd party scrobbler..they
> couldn't help me :(
>
> It stopped work on Jan 30th...Dunno why...
>
> I have purged Banshee and removed all files, re-installed Banshee and
> re-enabled Last.Fm Song reporting.
> The issue hasn't gone away sadly.
>
> Ubuntu 12.04LTS & Banshee 2.6.1
>
> Any Ideas?
>
> Thanks
>
> Darryl
>
>
>
> --
> View this message in context: http://banshee-media-player.2283330.n4.nabble.com/Scrobbling-Issue-tp4651556.html
> Sent from the Banshee Media Player mailing list archive at Nabble.com.
> _______________________________________________
> banshee-list mailing list
> [hidden email]
> https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
>
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Scrobbling Issue...

dritter
Ok...sorry for being late on this...so much going on.

I'm on Ubuntu 14.04LTS.

I ran the debug and got this in the terminal:

[Warn  05:52:45.553] Failed to process the scrobble response - System.ApplicationException: Unexpected character '<' at [1:1] (in `Hyena')
  at Hyena.Json.Tokenizer.UnexpectedCharacter (Char ch) [0x00000] in <filename unknown>:0
  at Hyena.Json.Tokenizer.InnerScan () [0x00000] in <filename unknown>:0
  at Hyena.Json.Tokenizer.Scan () [0x00000] in <filename unknown>:0
  at Hyena.Json.Deserializer.CheckScan (TokenType expected, Boolean eofok) [0x00000] in <filename unknown>:0
  at Hyena.Json.Deserializer.Deserialize () [0x00000] in <filename unknown>:0
  at Lastfm.LastfmRequest.GetResponseObject () [0x00000] in <filename unknown>:0
  at Lastfm.AudioscrobblerConnection.OnScrobbleResponse (IAsyncResult ar) [0x00000] in <filename unknown>:0

I get tonns of these too:
(Banshee:6796): GLib-CRITICAL **: Source ID 154 was not found when attempting to remove it

Also...the audioscrobbler-queue.xml is loaded with items.

Any Thoughts?

D
Reply | Threaded
Open this post in threaded view
|

Re: Scrobbling Issue...

Cristian Gómez
I had very issues with scrobbling and sadly ended going to Clementine for get scrobbling functionality that actualy works

/****************************************
* Don't Worry.......Be Linux!!!!
* Cristian Gómez Alvarez          
* Ingeniero en Sistemas y Computación --- Universidad de Caldas  
* Linux User #463617
* Mi blog
*********************************************/

On Sun, Sep 21, 2014 at 3:58 AM, dritter <[hidden email]> wrote:
Ok...sorry for being late on this...so much going on.

I'm on Ubuntu 14.04LTS.

I ran the debug and got this in the terminal:

[Warn  05:52:45.553] Failed to process the scrobble response -
System.ApplicationException: Unexpected character '<' at [1:1] (in `Hyena')
  at Hyena.Json.Tokenizer.UnexpectedCharacter (Char ch) [0x00000] in
<filename unknown>:0
  at Hyena.Json.Tokenizer.InnerScan () [0x00000] in <filename unknown>:0
  at Hyena.Json.Tokenizer.Scan () [0x00000] in <filename unknown>:0
  at Hyena.Json.Deserializer.CheckScan (TokenType expected, Boolean eofok)
[0x00000] in <filename unknown>:0
  at Hyena.Json.Deserializer.Deserialize () [0x00000] in <filename
unknown>:0
  at Lastfm.LastfmRequest.GetResponseObject () [0x00000] in <filename
unknown>:0
  at Lastfm.AudioscrobblerConnection.OnScrobbleResponse (IAsyncResult ar)
[0x00000] in <filename unknown>:0

I get tonns of these too:
(Banshee:6796): GLib-CRITICAL **: Source ID 154 was not found when
attempting to remove it

Also...the audioscrobbler-queue.xml is loaded with items.

Any Thoughts?

D




--
View this message in context: http://banshee-media-player.2283330.n4.nabble.com/Scrobbling-Issue-tp4651556p4651912.html
Sent from the Banshee Media Player mailing list archive at Nabble.com.
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)


_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: Scrobbling Issue...

IBBoard
In reply to this post by dritter
It'd be useful if Banshee dumped out the whole output of what it failed
with, but it basically looks like you're sending your scrobblings and
the response coming back either isn't JSON or isn't properly escaped
(which is less likely).

It might be worth deleting the Scrobbling queue (or renaming it, if you
want to see if you can add it again later), in case it has bad data in it.

Also, are you behind any proxy servers or filters? Because it could be
that an intermediary service is giving you a a HTML page instead of JSON
(which would explain a pointy bracket)

The more extreme debugging options are: patching the code to dump the
entire response when it hits that code (so you can see what it is
failing to parse, and then try to work out why it is getting that) or
using something like Wireshark to watch the TCP connections and check
the request/response steps that way (although if it uses HTTPS then that
won't work!)




On 21/09/14 09:58, dritter wrote:

> Ok...sorry for being late on this...so much going on.
>
> I'm on Ubuntu 14.04LTS.
>
> I ran the debug and got this in the terminal:
>
> [Warn  05:52:45.553] Failed to process the scrobble response -
> System.ApplicationException: Unexpected character '<' at [1:1] (in `Hyena')
>   at Hyena.Json.Tokenizer.UnexpectedCharacter (Char ch) [0x00000] in
> <filename unknown>:0
>   at Hyena.Json.Tokenizer.InnerScan () [0x00000] in <filename unknown>:0
>   at Hyena.Json.Tokenizer.Scan () [0x00000] in <filename unknown>:0
>   at Hyena.Json.Deserializer.CheckScan (TokenType expected, Boolean eofok)
> [0x00000] in <filename unknown>:0
>   at Hyena.Json.Deserializer.Deserialize () [0x00000] in <filename
> unknown>:0
>   at Lastfm.LastfmRequest.GetResponseObject () [0x00000] in <filename
> unknown>:0
>   at Lastfm.AudioscrobblerConnection.OnScrobbleResponse (IAsyncResult ar)
> [0x00000] in <filename unknown>:0
>
> I get tonns of these too:
> (Banshee:6796): GLib-CRITICAL **: Source ID 154 was not found when
> attempting to remove it
>
> Also...the audioscrobbler-queue.xml is loaded with items.
>
> Any Thoughts?
>
> D
>
>
>
>
> --
> View this message in context: http://banshee-media-player.2283330.n4.nabble.com/Scrobbling-Issue-tp4651556p4651912.html
> Sent from the Banshee Media Player mailing list archive at Nabble.com.
> _______________________________________________
> banshee-list mailing list
> [hidden email]
> https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
>
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)