After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 464451 - Limitations in submission of iPod songs to last.fm
Limitations in submission of iPod songs to last.fm
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: iPod
unspecified
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks: 338564
 
 
Reported: 2007-08-07 18:43 UTC by Christophe Fergeau
Modified: 2018-05-24 12:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christophe Fergeau 2007-08-07 18:43:23 UTC
This bug is a followup of bug #334488 so that issues mentioned in http://bugzilla.gnome.org/show_bug.cgi?id=334488#c9 aren't forgotten :
«
> * if a song has been submitted to last.fm which is more recent than the time
> the songs on the ipod were played, the ipod songs will be dropped by last.fm
> * if a song has been played several times offline, only the most recent play
> will be sent to last.fm

=> Those 2 items should be much easier to fix with the 1.2 audioscrobbler
protocol, I'd tend to punt them for now (which means people must sync their
iPod with last.fm before starting to play any other song with rb)

> * nothing is done to make sure the audioscrobbler plugin is loaded before the
> ipod plugin. If the ipod plugin is loaded first and emits its rb:offlinePlay
> signals before the audioscrobbler plugin starts, nothing will be sent to
> last.fm

=> this still needs to be fixed »
Comment 1 Martin Raißle 2008-04-25 09:48:19 UTC
> * if a song has been submitted to last.fm which is more recent than the time
> the songs on the ipod were played, the ipod songs will be dropped by last.fm
> * if a song has been played several times offline, only the most recent play
> will be sent to last.fm

As far as I know, Amarok solves these two issues by getting the timestamp of the last song scrobbled from last.fm and then appending each song played on the ipod from that time on (or from now on backwards, but not earlier than this timestamp). This way it ignores ipod timestamps and can scrobble multiple entries for songs played more than once.

I have almost no coding-experience so I'm not sure if I can provide a patch, but I will give it a try.
Comment 2 Edwin Figueroa 2010-06-28 21:02:42 UTC
> * if a song has been played several times offline, only the most recent play
> will be sent to last.fm

I'm still having this problem.

While of course getting the right times for each iPod play would be ideal, I used Amarok for years and their solution (which Martin summarizes in Comment 1) was an acceptable one for me.

I just hate when I've played a song on repeat some 10 or 20 times that Rhythmbox will only scrobble one play.
Comment 3 Robbin Voortman 2011-01-31 20:51:42 UTC
Agree with Edwin,

but itunes scrobbles it about 1000 times when i listen to it about 100 times :P
so i don't really know what is better ;)

I hope you guys will find  a solution for this, i am not a really good programmer, but i'll give it a try in the next weeks ;)
Comment 4 Christophe Fergeau 2011-01-31 23:02:30 UTC
I think nowadays last.fm just lets you scrobbles several songs with the same timestamp, but this would have to be double check (and I'm also not up to date as to which scrobbling protocol version rhythmbox is using these days).
Comment 5 Christophe Fergeau 2011-01-31 23:05:10 UTC
If someone wants to play with this
http://git.gnome.org/browse/rhythmbox/tree/plugins/ipod/rb-ipod-source.c#n1029 (send_offline_plays_notification) and http://git.gnome.org/browse/rhythmbox/tree/plugins/ipod/rb-ipod-source.c#n751 (add_offline_played_entry) are good starting points.
Comment 6 GNOME Infrastructure Team 2018-05-24 12:45:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/416.