"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xbmc/video/windows/GUIWindowVideoNav.cpp" between
xbmc-18.7.1-Leia.tar.gz and xbmc-18.8-Leia.tar.gz

About: XBMC is a software media player and entertainment hub for digital media that plays almost all popular audio and video formats around (new name "Kodi").

GUIWindowVideoNav.cpp  (xbmc-18.7.1-Leia):GUIWindowVideoNav.cpp  (xbmc-18.8-Leia)
skipping to change at line 593 skipping to change at line 593
{ {
database.GetItemsForPath(content, items.GetPath(), dbItems); database.GetItemsForPath(content, items.GetPath(), dbItems);
dbItems.SetFastLookup(true); dbItems.SetFastLookup(true);
} }
for (int i = 0; i < items.Size(); i++) for (int i = 0; i < items.Size(); i++)
{ {
CFileItemPtr pItem = items[i]; CFileItemPtr pItem = items[i];
CFileItemPtr match; CFileItemPtr match;
if (!content.empty() && pItem->m_bIsFolder && !pItem->IsParentFolder()) if (pItem->m_bIsFolder && !pItem->IsParentFolder())
{ {
// we need this for enabling the right context menu entries, like mark wat ched / unwatched // we need this for enabling the right context menu entries, like mark wat ched / unwatched
pItem->SetProperty("IsVideoFolder", true); pItem->SetProperty("IsVideoFolder", true);
} }
if (!content.empty()) /* optical media will be stacked down, so it's path wo n't match the base path */ if (!content.empty()) /* optical media will be stacked down, so it's path wo n't match the base path */
{ {
std::string pathToMatch = pItem->IsOpticalMediaFile() ? pItem->GetLocalMet adataPath() : pItem->GetPath(); std::string pathToMatch = pItem->IsOpticalMediaFile() ? pItem->GetLocalMet adataPath() : pItem->GetPath();
if (URIUtils::IsMultiPath(pathToMatch)) if (URIUtils::IsMultiPath(pathToMatch))
pathToMatch = CMultiPathDirectory::GetFirstPath(pathToMatch); pathToMatch = CMultiPathDirectory::GetFirstPath(pathToMatch);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)