Skip to content

Commit

Permalink
fixup! - evaluate the setting for hiding watched movies/episodes/musi…
Browse files Browse the repository at this point in the history
…cvideos in recently added job (should influence homescreen of skins only)
  • Loading branch information
popcornmix committed Jan 19, 2016
1 parent 6dc56e9 commit efb95db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xbmc/utils/RecentlyAddedJob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ bool CRecentlyAddedJob::UpdateVideo()

videodatabase.Open();
bool hideWatched = CSettings::GetInstance().GetBool("videolibrary.hiderecentlywatchedvideos");
if (videodatabase.GetRecentlyAddedMoviesNav("videodb://recentlyaddedmovies/", items, NUM_ITEMS, hideWatched))
if (videodatabase.GetRecentlyAddedMoviesNav("videodb://recentlyaddedmovies/", items, NUM_ITEMS, false, hideWatched))
{
for (; i < items.Size(); ++i)
{
Expand Down Expand Up @@ -97,7 +97,7 @@ bool CRecentlyAddedJob::UpdateVideo()

i = 0;
CFileItemList TVShowItems;
if (videodatabase.GetRecentlyAddedEpisodesNav("videodb://recentlyaddedepisodes/", TVShowItems, NUM_ITEMS, hideWatched))
if (videodatabase.GetRecentlyAddedEpisodesNav("videodb://recentlyaddedepisodes/", TVShowItems, NUM_ITEMS, false, hideWatched))
{
for (; i < TVShowItems.Size(); ++i)
{
Expand Down Expand Up @@ -150,7 +150,7 @@ bool CRecentlyAddedJob::UpdateVideo()
i = 0;
CFileItemList MusicVideoItems;

if (videodatabase.GetRecentlyAddedMusicVideosNav("videodb://recentlyaddedmusicvideos/", MusicVideoItems, NUM_ITEMS, hideWatched))
if (videodatabase.GetRecentlyAddedMusicVideosNav("videodb://recentlyaddedmusicvideos/", MusicVideoItems, NUM_ITEMS, false, hideWatched))
{
for (; i < MusicVideoItems.Size(); ++i)
{
Expand Down

0 comments on commit efb95db

Please sign in to comment.