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
Conditional sentence in skins, how?
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="igalan" data-source="post: 18717" data-attributes="member: 13477"><p>The problem is this: the Spanish EPG grabber is designed so when there is a movie you get in the title field of the XML "Movie" and in the sub-title field the actual movie name. So with default skins you never know the movie name.</p><p></p><p>I've done a quick and dirty fix for the Blue Two skin which consists on always showing this information from the TVGuide database which is stored as TV.Guide.EpisodeName:</p><p></p><p>[code] <control></p><p> <description>Current program title</description></p><p> <type>fadelabel</type></p><p> <id>13</id></p><p> <posX>250</posX></p><p> <posY>420</posY></p><p> <width>200</width></p><p> <align>left</align></p><p> <label>#TV.Guide.Title</label></p><p> <font>font16</font></p><p> <textcolor>FFFFFFFF</textcolor></p><p> </control></p><p> <control></p><p> <description>Current program sub-title</description></p><p> <type>fadelabel</type></p><p> <id>13</id></p><p> <posX>450</posX></p><p> <posY>420</posY></p><p> <width>200</width></p><p> <align>left</align></p><p> <label>#TV.Guide.EpisodeName</label></p><p> <font>font16</font></p><p> <textcolor>FFFFFFFF</textcolor></p><p> </control>[/code]</p><p></p><p>The problem is, except for movies, shows and some other programs, there is no TV.Guide.EpisodeName, and instead of a blank space, you get a nasty "Unknown".</p><p></p><p>Is there a way to create a condidion so the TV.Guide.EpisodeName is only showed when there is some data?</p></blockquote><p></p>
[QUOTE="igalan, post: 18717, member: 13477"] The problem is this: the Spanish EPG grabber is designed so when there is a movie you get in the title field of the XML "Movie" and in the sub-title field the actual movie name. So with default skins you never know the movie name. I've done a quick and dirty fix for the Blue Two skin which consists on always showing this information from the TVGuide database which is stored as TV.Guide.EpisodeName: [code] <control> <description>Current program title</description> <type>fadelabel</type> <id>13</id> <posX>250</posX> <posY>420</posY> <width>200</width> <align>left</align> <label>#TV.Guide.Title</label> <font>font16</font> <textcolor>FFFFFFFF</textcolor> </control> <control> <description>Current program sub-title</description> <type>fadelabel</type> <id>13</id> <posX>450</posX> <posY>420</posY> <width>200</width> <align>left</align> <label>#TV.Guide.EpisodeName</label> <font>font16</font> <textcolor>FFFFFFFF</textcolor> </control>[/code] The problem is, except for movies, shows and some other programs, there is no TV.Guide.EpisodeName, and instead of a blank space, you get a nasty "Unknown". Is there a way to create a condidion so the TV.Guide.EpisodeName is only showed when there is some data? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Conditional sentence in skins, how?
Contact us
RSS
Top
Bottom