diff options
author | Jonathan Marshall <jmarshall@never.you.mind> | 2012-11-11 12:38:08 +1300 |
---|---|---|
committer | Jonathan Marshall <jmarshall@never.you.mind> | 2012-11-11 12:39:55 +1300 |
commit | c6711aa3644a84d2d09334e6679f98ec7ec7b669 (patch) | |
tree | 0b32eb45ae38151a5dec7a8c655be2434a354324 | |
parent | a5adc61358961c9550da559140a669274a5085ea (diff) |
stacking was enabled on the video now playing list, causing it to be sorted by label. fixes #12123
-rw-r--r-- | xbmc/video/windows/GUIWindowVideoBase.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xbmc/video/windows/GUIWindowVideoBase.cpp b/xbmc/video/windows/GUIWindowVideoBase.cpp index 887f5d26fe..a147bf3252 100644 --- a/xbmc/video/windows/GUIWindowVideoBase.cpp +++ b/xbmc/video/windows/GUIWindowVideoBase.cpp @@ -1832,9 +1832,11 @@ bool CGUIWindowVideoBase::GetDirectory(const CStdString &strDirectory, CFileItem bool CGUIWindowVideoBase::StackingAvailable(const CFileItemList &items) const { + CURL url(items.GetPath()); return !(items.IsTuxBox() || items.IsPlugin() || items.IsAddonsPath() || items.IsRSS() || - items.IsInternetStream() || items.IsVideoDb()); + items.IsInternetStream() || items.IsVideoDb() || + url.GetProtocol() == "playlistvideo"); } void CGUIWindowVideoBase::OnPrepareFileItems(CFileItemList &items) |