Review Request 127468: Fix for the infinite loop in case a home-burned or old audio CD is inserted
Stefano Pettini
stefano.pettini at gmail.com
Tue Mar 22 21:59:35 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127468/
-----------------------------------------------------------
Review request for Amarok.
Bugs: 339190
https://bugs.kde.org/show_bug.cgi?id=339190
Repository: amarok
Description
-------
Home-burned or old audio CDs usually don't have CDTEXT, that is what was triggering the bug.
The bug was releted to poor management of track names, that are generated using the pattern "Track%1.wav".
The audiocd:/ KIO protocol requires that a device is also added to the URL, and this was not done everywhere.
Lack of device was triggering an unexpected/strange behaviour in some KDE function making Amarok enter an infinite loop.
Diffs
-----
src/core-impl/collections/audiocd/AudioCdCollection.h dc2cad7
src/core-impl/collections/audiocd/AudioCdCollection.cpp 3dfa7c3
Diff: https://git.reviewboard.kde.org/r/127468/diff/
Testing
-------
First I reproduced the bug with an original CD 100% of the times. It was triggered in case the CD didn't have any CDTEXT. Only in that case the noInfoAvailable function was invoked.
After fixing it, I verified that it works as expected both with CDs with CDTEXT and CDs without it.
Thanks,
Stefano Pettini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20160322/8c848293/attachment.html>
More information about the Amarok-devel
mailing list