Review Request 111655: Reimplement RecentlyPlayedListWidget
Commit Hook
null at kde.org
Fri Jul 26 16:19:25 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111655/#review36554
-----------------------------------------------------------
This review has been submitted with commit 5bfcf25fa06fc09c9bc951c7f9bf05dc5f6d66a9 by Konrad Zemek to branch master.
- Commit Hook
On July 26, 2013, 10:02 a.m., Konrad Zemek wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111655/
> -----------------------------------------------------------
>
> (Updated July 26, 2013, 10:02 a.m.)
>
>
> Review request for Amarok.
>
>
> Description
> -------
>
> Reimplement RecentlyPlayedListWidget
>
> Rewrote RecentlyPlayedListWidget from the basics. There was a major
> inconsistency in this widget, where tracks were added to it if they were
> recently played at all, but the time shown was the "Last Played"
> statistic which is only updated after whole song is played. This
> caused gravely incorrect data to be displayed (see bug 302485).
>
> There were two different methods of solving the inconsistency: focusing
> on the "Last Played" time, and adding songs to the widget only if the
> "Last Played" changed; and focusing on recent plays completely
> disregarding "Last Played". I opted for the latter as I felt it fits the
> widget's nature better.
>
> Because we can't rely on already available data, the widget needs to do
> its own housekeeping. It saves its data on shutdown, to be restored
> on next startup. One other major benefit of this approach is that
> widget's data remains correct even if collections change, while
> previously tracks from removed collections would disappear.
>
> Finally, I added the feature to add tracks to playlist directly from the
> widget, provided that the track exists.
>
> BUG: 302485
> FEATURE: 279263
> FEATURE: 296090
> FIXED-IN: 2.8
> REVIEW: 111655
>
>
> Diffs
> -----
>
> ChangeLog 87e4708a6330e7a612db59052a50eef053294b06
> src/context/widgets/RecentlyPlayedListWidget.h caa78039b891511ca36ada8f61cd4f776d1f3c6d
> src/context/widgets/RecentlyPlayedListWidget.cpp 6ea501affcf6e61d237002e15f7ed4e26989b91b
>
> Diff: http://git.reviewboard.kde.org/r/111655/diff/
>
>
> Testing
> -------
>
> Manual.
>
>
> Thanks,
>
> Konrad Zemek
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20130726/e9519163/attachment.html>
More information about the Amarok-devel
mailing list