Skip to content

Commit

Permalink
use the content of the directory being queued, rather than the direct…
Browse files Browse the repository at this point in the history
…ory doing the queuing for determining watched status while queuing items. fixes #13396
  • Loading branch information
Jonathan Marshall committed Oct 13, 2012
1 parent ea3f1a2 commit 15f44b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/video/windows/GUIWindowVideoBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ void CGUIWindowVideoBase::AddItemToPlayList(const CFileItemPtr &pItem, CFileItem
GetDirectory(pItem->GetPath(), items);
FormatAndSort(items);

int watchedMode = g_settings.GetWatchMode(m_vecItems->GetContent());
int watchedMode = g_settings.GetWatchMode(items.GetContent());
bool unwatchedOnly = watchedMode == VIDEO_SHOW_UNWATCHED;
bool watchedOnly = watchedMode == VIDEO_SHOW_WATCHED;
for (int i = 0; i < items.Size(); ++i)
Expand Down

0 comments on commit 15f44b3

Please sign in to comment.