From b0f1f8816b950ecc529bb516e9e1345b23433fab Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Tue, 25 Jun 2024 21:11:10 +0200 Subject: fixed: need to check for playlists before music/video/pictures files the playlist extensions are in the music/video/pictures extension list --- xbmc/FileItem.cpp | 8 ++++---- 1 file 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"); -- cgit v1.2.3