diff options
-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) |