Review Request: Bug 261062 - JJ: Mark episodes to keep

Bart Cerneels bart.cerneels at kde.org
Wed Feb 8 09:30:04 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100998/#review10413
-----------------------------------------------------------


This patch still needs update code. The database version in SqlPodcastProvider needs to be updated to 5, adding isKeep.


src/core-impl/podcasts/sql/SqlPodcastProvider.cpp
<http://git.reviewboard.kde.org/r/100998/#comment8558>

    I assume TINYINT(1) and BOOL are the same in the database and won't affect queries, but why change it when BOOL worked and is easier to read?


- Bart Cerneels


On Feb. 7, 2012, 8:57 p.m., Lucas Gomes wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100998/
> -----------------------------------------------------------
> 
> (Updated Feb. 7, 2012, 8:57 p.m.)
> 
> 
> Review request for Amarok.
> 
> 
> Description
> -------
> 
> Now downloaded episodes are kept in HD, if "keep episode" checkbox is checked.
> These "kept" episodes are shown in the list regardless of the purgecount.
> 
> BUG Description:
> 
> Currently downloaded files are not kept when the episode is no longer shown in
> the Podcast section. This behavior can not be configured but is tied to the
> purge settings of each channel.
> 
> It's possible to add a "keep downloaded file" checkbox to episodes to prevent
> the deletion from happening. We should perhaps also show these "kept" episodes
> in the list regardless of the purgecount. So even if a channel has purgecount 5
> and 3 episodes marked to keep it will show 5 + maximum 3 older kept episodes.
> 
> Reproducible: Always
> 
> 
> This addresses bug 261062.
>     https://bugs.kde.org/show_bug.cgi?id=261062
> 
> 
> Diffs
> -----
> 
>   src/browsers/playlistbrowser/PodcastModel.cpp 18334f6 
>   src/core-impl/podcasts/sql/SqlPodcastMeta.h 42ad039 
>   src/core-impl/podcasts/sql/SqlPodcastMeta.cpp 1c3bdf4 
>   src/core-impl/podcasts/sql/SqlPodcastProvider.h c3d5e56 
>   src/core-impl/podcasts/sql/SqlPodcastProvider.cpp 183005f 
>   src/core/podcasts/PodcastMeta.h 679f7ac 
>   src/playlistmanager/SyncedPodcast.h c186df2 
> 
> Diff: http://git.reviewboard.kde.org/r/100998/diff/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Lucas Gomes
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20120208/2c03ddb2/attachment.html>


More information about the Amarok-devel mailing list