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
Area 51 - Testing Area
Skin engine enhancements (themes, guide colors, skin functions, weather settings...)
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="elliottmc" data-source="post: 865027" data-attributes="member: 14268"><p>I would say so. You'll then need to update the button status for</p><p> </p><p><entry name="specifympaaratedasmovie">no</entry></p><p> </p><p>but I guess you will have to update everything after import.</p><p> </p><p>I think the biggest challenge here will be the tvguidecolors section.</p><p> </p><p>In my MediaPortal.xml I have</p><p> </p><p>[code]</p><p> <section name="tvguidecolors"></p><p> <entry name="guidecolorchannelbutton">FF0E517B</entry></p><p> <entry name="guidecolorchannelbuttonselected">FF008000</entry></p><p> <entry name="guidecolorgroupbutton">FF0E517B</entry></p><p> <entry name="guidecolorgroupbuttonselected">FF008000</entry></p><p> <entry name="guidecolorprogramselected">FF008000</entry></p><p> <entry name="guidecolorprogramended">FF808080</entry></p><p> <entry name="guidecolorborderhighlight">99FFFFFF</entry></p><p> <entry name="defaultgenre">FF1D355B,FF0E517B</entry></p><p> <entry name="Documentary">FFD2691E,FFD2691E</entry></p><p> <entry name="Kids">FF00FFFF,FF00FFFF</entry></p><p> <entry name="Movie">FF800080,FF800080</entry></p><p> <entry name="Music">FF800000,FF800000</entry></p><p> <entry name="News">FF90EE90,FF90EE90</entry></p><p> <entry name="Other">FFFFD700,FFFFD700</entry></p><p> <entry name="Special">FFFFD700,FFFFD700</entry></p><p> <entry name="Sports">FF006400,FF006400</entry></p><p> </section></p><p>[/code]</p><p> </p><p>However, the skin author won't know what genres I want to use, so they will probably have to do something like</p><p> </p><p>[code]</p><p> <section name="tvguidecolors"></p><p> <entry name="guidecolorchannelbutton">FF0E517B</entry></p><p> <entry name="guidecolorchannelbuttonselected">FF008000</entry></p><p> <entry name="guidecolorgroupbutton">FF0E517B</entry></p><p> <entry name="guidecolorgroupbuttonselected">FF008000</entry></p><p> <entry name="guidecolorprogramselected">FF008000</entry></p><p> <entry name="guidecolorprogramended">FF808080</entry></p><p> <entry name="guidecolorborderhighlight">99FFFFFF</entry></p><p> <entry name="defaultgenre">FF1D355B,FF0E517B</entry></p><p> <entry name="genre1">FFD2691E,FFD2691E</entry></p><p> <entry name="genre2">FF00FFFF,FF00FFFF</entry></p><p> <entry name="genre3">FF800080,FF800080</entry></p><p> <entry name="genre4">FF800000,FF800000</entry></p><p> <entry name="genre5">FF90EE90,FF90EE90</entry></p><p> <entry name="genre6">FFFFD700,FFFFD700</entry></p><p> <entry name="genre7">FFFFD700,FFFFD700</entry></p><p> <entry name="genre8">FF006400,FF006400</entry></p><p> </section></p><p>[/code]</p><p> </p><p>and then when you import from skinsettings.xml, you will have to map them to the genres that the user has specified (which may or may not be the default ones).</p><p> </p><p>However, if you import them from MediaPortal.xml, you would assume (but probably best to check) that the genres in genremap and in tvguidecolors match.</p><p> </p><p>How many genres is it possible to add? Is it sensible to set a limit on this (8 + the default genre)? Personally I think that any more than this makes it hard to follow, but others will probably disagree.</p><p> </p><p>What will happen if you try to import colours and the user has more genres than colours? Do you automatically match the first few?</p><p> </p><p><span style="color: #ff0000">I guess actually the most flexible solution is to retrieve the colour from skinsettings.xml and then present a dialog showing the colour and unmapped genres and ask the user which genre they want to map to this colour! Simple and easy to follow!!!!</span></p><p> </p><p>Mark</p></blockquote><p></p>
[QUOTE="elliottmc, post: 865027, member: 14268"] I would say so. You'll then need to update the button status for <entry name="specifympaaratedasmovie">no</entry> but I guess you will have to update everything after import. I think the biggest challenge here will be the tvguidecolors section. In my MediaPortal.xml I have [code] <section name="tvguidecolors"> <entry name="guidecolorchannelbutton">FF0E517B</entry> <entry name="guidecolorchannelbuttonselected">FF008000</entry> <entry name="guidecolorgroupbutton">FF0E517B</entry> <entry name="guidecolorgroupbuttonselected">FF008000</entry> <entry name="guidecolorprogramselected">FF008000</entry> <entry name="guidecolorprogramended">FF808080</entry> <entry name="guidecolorborderhighlight">99FFFFFF</entry> <entry name="defaultgenre">FF1D355B,FF0E517B</entry> <entry name="Documentary">FFD2691E,FFD2691E</entry> <entry name="Kids">FF00FFFF,FF00FFFF</entry> <entry name="Movie">FF800080,FF800080</entry> <entry name="Music">FF800000,FF800000</entry> <entry name="News">FF90EE90,FF90EE90</entry> <entry name="Other">FFFFD700,FFFFD700</entry> <entry name="Special">FFFFD700,FFFFD700</entry> <entry name="Sports">FF006400,FF006400</entry> </section> [/code] However, the skin author won't know what genres I want to use, so they will probably have to do something like [code] <section name="tvguidecolors"> <entry name="guidecolorchannelbutton">FF0E517B</entry> <entry name="guidecolorchannelbuttonselected">FF008000</entry> <entry name="guidecolorgroupbutton">FF0E517B</entry> <entry name="guidecolorgroupbuttonselected">FF008000</entry> <entry name="guidecolorprogramselected">FF008000</entry> <entry name="guidecolorprogramended">FF808080</entry> <entry name="guidecolorborderhighlight">99FFFFFF</entry> <entry name="defaultgenre">FF1D355B,FF0E517B</entry> <entry name="genre1">FFD2691E,FFD2691E</entry> <entry name="genre2">FF00FFFF,FF00FFFF</entry> <entry name="genre3">FF800080,FF800080</entry> <entry name="genre4">FF800000,FF800000</entry> <entry name="genre5">FF90EE90,FF90EE90</entry> <entry name="genre6">FFFFD700,FFFFD700</entry> <entry name="genre7">FFFFD700,FFFFD700</entry> <entry name="genre8">FF006400,FF006400</entry> </section> [/code] and then when you import from skinsettings.xml, you will have to map them to the genres that the user has specified (which may or may not be the default ones). However, if you import them from MediaPortal.xml, you would assume (but probably best to check) that the genres in genremap and in tvguidecolors match. How many genres is it possible to add? Is it sensible to set a limit on this (8 + the default genre)? Personally I think that any more than this makes it hard to follow, but others will probably disagree. What will happen if you try to import colours and the user has more genres than colours? Do you automatically match the first few? [COLOR=#ff0000]I guess actually the most flexible solution is to retrieve the colour from skinsettings.xml and then present a dialog showing the colour and unmapped genres and ask the user which genre they want to map to this colour! Simple and easy to follow!!!![/COLOR] Mark [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
Skin engine enhancements (themes, guide colors, skin functions, weather settings...)
Contact us
RSS
Top
Bottom