Login
Register
Login at Kodi Home
Welcome to Kodi Community Forum!
Please login using the form on the right.
Not our member yet? What are you waiting for?
Register
Remember me
Login
Lost password
Toggle navigation
News
Wiki
Code
Bug Tracker
Download
Donate
Support
Skins Support
Confluence
How to test if the playing song has fanart?
Donate
How to test if the playing song has fanart?
TheEvilHammer
Senior Member
Posts: 238
Joined: Nov 2006
Reputation:
0
TheEvilHammer
Senior Member
Posts: 238
#1
2012-06-24, 07:05
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?
Reply
Find
Reply
Quick Edit
Full Edit
Jezz_X
Team-XBMC Skinner
Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
#2
2012-06-24, 07:18
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
))
Reply
Find
Reply
Quick Edit
Full Edit
TheEvilHammer
Senior Member
Posts: 238
Joined: Nov 2006
Reputation:
0
TheEvilHammer
Senior Member
Posts: 238
#3
2012-06-24, 07:39
Excellent, that works perfectly. Thanks!
Reply
Find
Reply
Quick Edit
Full Edit
View a Printable Version
Subscribe to this thread
Home
Search
Help
Logout
Mark Read
Team
Forum Stats
Members
Help
How to test if the playing song has fanart?
0