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
Support
General Support
TV Guide : Obtaining the genre colour
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="Rob Hexenmeister" data-source="post: 1301651" data-attributes="member: 113164"><p>Yes, thanks High_Five, I know how to do that, but that is not what I am trying to do. CyberSimian has got it.</p><p></p><p>I am trying to retrieve the colour of the selected cell on the TV guide, which I then want to use in other controls on the page. </p><p></p><p>At the moment, the only way I can see of doing it is to hard code it into the skin files, and use defines, basically cribbing the tvguidecolors from the SkinSettings.xml</p><p></p><p></p><p>at the start of the mytvguide.xml</p><p></p><p><define>#gc.kids:FF807E00</define></p><p></p><p>then later...</p><p></p><p><control></p><p>...</p><p>...</p><p><visible>string.contains(#TV.Guide.Genre,children)</visible></p><p><colordiffuse>#gc.kids</colordiffuse></p><p>....</p><p>....</p><p></p><p>and so on for each genre</p><p></p><p></p><p>What would have been better instead of defining each genre colour and duplicating all the controls would have been to have the colour of the currently selected programme genre in the guide returned in a variable such as #TV.Guide.Genrecolour</p><p></p><p>Many thanks</p></blockquote><p></p>
[QUOTE="Rob Hexenmeister, post: 1301651, member: 113164"] Yes, thanks High_Five, I know how to do that, but that is not what I am trying to do. CyberSimian has got it. I am trying to retrieve the colour of the selected cell on the TV guide, which I then want to use in other controls on the page. At the moment, the only way I can see of doing it is to hard code it into the skin files, and use defines, basically cribbing the tvguidecolors from the SkinSettings.xml at the start of the mytvguide.xml <define>#gc.kids:FF807E00</define> then later... <control> ... ... <visible>string.contains(#TV.Guide.Genre,children)</visible> <colordiffuse>#gc.kids</colordiffuse> .... .... and so on for each genre What would have been better instead of defining each genre colour and duplicating all the controls would have been to have the colour of the currently selected programme genre in the guide returned in a variable such as #TV.Guide.Genrecolour Many thanks [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
TV Guide : Obtaining the genre colour
Contact us
RSS
Top
Bottom