Review Request 118989: KCDDB::Client::lookup() make sure all pending lookup tasks are cleared before starting a new lookup

Frank Schaefer fschaefer.oss at googlemail.com
Sat Jun 28 11:10:58 BST 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118989/
-----------------------------------------------------------

Review request for KDE Multimedia.


Repository: libkcddb


Description
-------

Client::lookup() cancels a pending CDDB lookup and starts a new one.

With musicbrainz5 is enabled always two lookup tasks are queued for a CD data lookup:
one for musicbrainz and another one for freedb.
If the first task fails, the second one is started.

Client::lookup() currently only clears the active lookup task and forgets to clear the queued tasks.
As a result, an old/outdated lookup task (for a previous CD) may be started.


Diffs
-----

  libkcddb/client.cpp 6ceb0f5 

Diff: https://git.reviewboard.kde.org/r/118989/diff/


Testing
-------

yes


Thanks,

Frank Schaefer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-multimedia/attachments/20140628/e62d1ea9/attachment.htm>
-------------- next part --------------
_______________________________________________
kde-multimedia mailing list
kde-multimedia at kde.org
https://mail.kde.org/mailman/listinfo/kde-multimedia


More information about the kde-multimedia mailing list