bool CGUIWindowVideoFiles::GetDirectory(const CStdString &strDirectory, CFileItemList &items) { if (!CGUIWindowVideoBase::GetDirectory(strDirectory, items)) return false; SScraperInfo info2; m_stackingAvailable = true; m_cleaningAvailable = true; if ((m_database.GetScraperForPath(strDirectory,info2) && info2.strContent.Equals("tvshows")) || items.IsTuxBox()) { // dont stack or clean strings in tv dirs m_stackingAvailable = false; m_cleaningAvailable = false; } else if (!items.IsStack() && g_stSettings.m_iMyVideoStack != STACK_NONE) items.Stack(); if ((!info2.strContent.IsEmpty() && !info2.strContent.Equals("None")) && items.GetContent().IsEmpty()) items.SetContent(info2.strContent.c_str()); else items.SetContent("files"); items.SetThumbnailImage(""); items.SetVideoThumb(); return true; }