Kodi Community Forum

Full Version: How to test if the playing song has fanart?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to modify my visualization screen so that fanart is displayed if and only if there's fanart for the currently playing song. Is there a boolean test I can use for this?
Bare in mind I have just added this to the main version source code https://github.com/xbmc/xbmc/commit/8c4f...0fdd426329
the check is
PHP Code:
!IsEmpty(MusicPlayer.Property(Fanart_Image)) 
Excellent, that works perfectly. Thanks!