diff options
author | Rainer Hochecker <fernetmenta@online.de> | 2018-03-17 19:25:04 +0100 |
---|---|---|
committer | Rainer Hochecker <fernetmenta@online.de> | 2018-03-17 19:25:04 +0100 |
commit | 6f7eca98e376cbe0132027dd3f2dba11e89b0e66 (patch) | |
tree | 936f89dc9e05265d80ab4aa3641e89f3158c13d5 | |
parent | f27e3344f331a6e1c2a4309414ba1023fb6a658e (diff) |
fix playlists after https://github.com/xbmc/xbmc/pull/13648
-rw-r--r-- | xbmc/playlists/PlayList.cpp | 2 | ||||
-rw-r--r-- | xbmc/playlists/PlayListFactory.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/playlists/PlayList.cpp b/xbmc/playlists/PlayList.cpp index 5584cc35c8..fa0b564bef 100644 --- a/xbmc/playlists/PlayList.cpp +++ b/xbmc/playlists/PlayList.cpp @@ -486,7 +486,7 @@ bool CPlayList::Expand(int position) // @todo // never change original path (id) of a file item // playlist items should be created with dynPath instead - if (!item->GetDynPath().empty()) + if (item->GetDynPath() != item->GetPath()) { for (int i = 0;i<playlist->size();i++) { diff --git a/xbmc/playlists/PlayListFactory.cpp b/xbmc/playlists/PlayListFactory.cpp index 3b721cc5e5..2863164cc3 100644 --- a/xbmc/playlists/PlayListFactory.cpp +++ b/xbmc/playlists/PlayListFactory.cpp @@ -133,7 +133,7 @@ bool CPlayListFactory::IsPlaylist(const CFileItem& item) || strMimeType == "audio/x-mpegurl") return true; - return IsPlaylist(item.GetPath()); + return IsPlaylist(item.GetDynPath()); } bool CPlayListFactory::IsPlaylist(const CURL& url) |