diff options
author | Arne Morten Kvarving <spiff@kodi.tv> | 2024-06-25 21:11:10 +0200 |
---|---|---|
committer | Arne Morten Kvarving <spiff@kodi.tv> | 2024-06-25 21:11:10 +0200 |
commit | b0f1f8816b950ecc529bb516e9e1345b23433fab (patch) | |
tree | 023d81242597e836cd4accfa9ae0818a875959ab | |
parent | 03786496857ab0f3dfed457fe2c70d0ead97f63c (diff) |
fixed: need to check for playlists before music/video/pictures files
the playlist extensions are in the music/video/pictures extension list
-rw-r--r-- | xbmc/FileItem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xbmc/FileItem.cpp b/xbmc/FileItem.cpp index 69a23f7ee7..0e7046cd76 100644 --- a/xbmc/FileItem.cpp +++ b/xbmc/FileItem.cpp @@ -1253,6 +1253,10 @@ void CFileItem::FillInDefaultIcon() // PVR deleted recording SetArt("icon", "DefaultVideoDeleted.png"); } + else if (PLAYLIST::IsPlayList(*this) || PLAYLIST::IsSmartPlayList(*this)) + { + SetArt("icon", "DefaultPlaylist.png"); + } else if (MUSIC::IsAudio(*this)) { // audio @@ -1272,10 +1276,6 @@ void CFileItem::FillInDefaultIcon() // picture SetArt("icon", "DefaultPicture.png"); } - else if (PLAYLIST::IsPlayList(*this) || PLAYLIST::IsSmartPlayList(*this)) - { - SetArt("icon", "DefaultPlaylist.png"); - } else if ( IsPythonScript() ) { SetArt("icon", "DefaultScript.png"); |