home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
Popular Skins
StreamedMP
[FIXED] No CD cover displayed in the HomeBasic
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ltfearme" data-source="post: 1058944" data-attributes="member: 52219"><p>Found the issue, for some reason this fails now when being evaluated by the skin engine:</p><p>[CODE]</p><p>string.equals(#Play.Current.thumb,)</p><p>[/CODE]</p><p></p><p>This means check if '#Play.Current.thumb' is empty (because the value after the comma is an empty.string. Now I have seen some wacky expressions omitting the comma when checking for an empty string:</p><p></p><p>[CODE]</p><p>string.equals(#Play.Current.thumb)</p><p>[/CODE]</p><p></p><p>What do you know, it works! It should be an epic fail in my opinion as that is not a valid expression. I have no idea why the above expression no longer works in MediaPortal 1.6...and you know what's even weirder? It only fails when used in BasicHome, it works in other overlays !!!!!.</p><p></p><p><strong>Solution:</strong></p><p>1. Edit the file <em>common.basichome.overlay.xml</em></p><p>2. Replace "<em>string.equals(#Play.Current.thumb,)</em>" with "<em>string.equals(#Play.Current.thumb)</em>"</p></blockquote><p></p>
[QUOTE="ltfearme, post: 1058944, member: 52219"] Found the issue, for some reason this fails now when being evaluated by the skin engine: [CODE] string.equals(#Play.Current.thumb,) [/CODE] This means check if '#Play.Current.thumb' is empty (because the value after the comma is an empty.string. Now I have seen some wacky expressions omitting the comma when checking for an empty string: [CODE] string.equals(#Play.Current.thumb) [/CODE] What do you know, it works! It should be an epic fail in my opinion as that is not a valid expression. I have no idea why the above expression no longer works in MediaPortal 1.6...and you know what's even weirder? It only fails when used in BasicHome, it works in other overlays !!!!!. [B]Solution:[/B] 1. Edit the file [I]common.basichome.overlay.xml[/I] 2. Replace "[I]string.equals(#Play.Current.thumb,)[/I]" with "[I]string.equals(#Play.Current.thumb)[/I]" [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Popular Skins
StreamedMP
[FIXED] No CD cover displayed in the HomeBasic
Contact us
RSS
Top
Bottom