Bug 234134

Summary: Amarok Lyrics mismatched when loading tracklist via dbus
Product: [Applications] amarok Reporter: Jamie <kde>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jamie 2010-04-12 09:31:09 UTC
Version:            (using KDE 4.4.1)
OS:                Linux
Installed from:    Fedora RPMs

I am using Amarok 2.3.0, and I have written a remote control application which uses Amarok's dbus methods to update playlists and control Amarok.

When my application creates a new playlist in Amarok (it does this by calling qdbus org.kde.amarok /TrackList AddTrack repeatedly in quick succession), Amarok loads in the tracks, and looks up the lyrics for each song as it is added to the playlist (as each added track is temporarily the 'currently playing track' as tracks are added).

When tracks are loaded like this in quick sucession, lyrics are sucessfully downloaded, but the wrong lyrics are applied to the added songs. That is, all the correct lyrics for my songs download, but these lyrics are all mismatched to the songs.

This bug can be reproduced by running a simple shell script to add songs from your existing collection (songs for which lyrics haven't yet been downloaded) using the qdbus interface in quick succession, say, 30-40 songs or so.

I guess this might be a timing issue, and I realise maybe my use of the AddTrack method possibly isn't as it was intended (using it to mass-add tracks), but it would be really great if this could be fixed as my remote control application uses the lyrics Amarok downloads for songs.
Comment 1 Sven Krohlas 2010-04-12 09:38:24 UTC

*** This bug has been marked as a duplicate of bug 198381 ***