diff options
author | fuzzard <fuzzard@users.noreply.github.com> | 2024-06-26 14:34:29 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-26 14:34:29 +1000 |
commit | c0161da767fad02f87be5746e377769fb0d0ebac (patch) | |
tree | 8004f0aeeb416ef8c658c660dfd41afe4a733b7a | |
parent | 433684672e645837c2741c0f6790333bced2c041 (diff) | |
parent | b0f1f8816b950ecc529bb516e9e1345b23433fab (diff) |
Merge pull request #25377 from notspiff/fix_playlist_default_icon
fixed: need to check for playlists before music/video/pictures files
-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 f3fe30b778..43ca4749ed 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"); |