Review Request: Small EngineController refactoring
Mark Kretschmann
kretschmann at kde.org
Fri Oct 22 11:18:19 CEST 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100097/#review176
-----------------------------------------------------------
Ship it!
I have been running Amarok for a few hours, with your patch. Played local files, Last.fm streams, and SHOUTcast streams. Everything worked fine.
Code wise, this patch also makes sense to me. I think it could probably go into mainline.
- Mark
On 2010-10-22 00:29:31, Ralf Engels wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100097/
> -----------------------------------------------------------
>
> (Updated 2010-10-22 00:29:31)
>
>
> Review request for Amarok.
>
>
> Summary
> -------
>
> It turned out that calling EngineController::play did not call Track::finishedPlaying.
> This was done by the PlaylistActions.
> In all other cases the EngineController called finishedPlaying by itself.
>
> So I moved the function from PlaylistActions to the controller.
> As it turned out the EngineController even leaked BoundedPlaybackCapability objects in stop().
>
> I hope this fixes 254631, but I think that the chances are not good.
>
>
> This addresses bug 254631.
> https://bugs.kde.org/show_bug.cgi?id=254631
>
>
> Diffs
> -----
>
> src/EngineController.cpp 5e07700
> src/playlist/PlaylistActions.cpp bc6ef5b
>
> Diff: http://git.reviewboard.kde.org/r/100097/diff
>
>
> Testing
> -------
>
> Playing around with stop, next and so on while looking for the finishedPlaying debug output.
>
>
> Thanks,
>
> Ralf
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/amarok-devel/attachments/20101022/f47b9a7c/attachment.htm
More information about the Amarok-devel
mailing list