Skin engine enhancements (themes, guide colors, skin functions, weather settings...) (1 Viewer)

ajp8164

Portal Pro
January 9, 2008
575
1,166
Atlanta, GA
United States of America United States of America
Hi all -

I have dramatically improved (IMHO ;-) how skin settings are managed within MP Config. Please see attached screen shots. I posted a new build in post 3. Please test this out and if all is good I can merge to the 1.3 alpha branch.

I need to update the wiki to match these changes. Here is a quick summary...
  • I have separated the genre mapping (database genres to tv guide genres) from the tv guide color setup. This is step 1, step 2 is to move the genre mapping capability into the tv server settings. For the moment the genre mapping function is still located in MP Configuration.exe at "TV->TV Client->Guide settings". The genremap and genreoptions sections are still stored in MediaPortal.xml.
  • I have added a button called "Edit Skin Settings" in MP Configuration.exe at GUI, underneath the skin preview. This button provides access to a new dialog that provides for managing settings for the selected skin.
  • I have created a new dialog that manages skin settings (accessed as described above). All skin settings are stored in the skins SkinSettings.xml file.
    • You can browse and choose a skin theme for the selected skin (similar to browsing and choosing a skin).
      • If there is a preview.png in the theme media folder then that image will appear when you choose the theme. If a theme preview.png is not found then the skin preview.png is used. If a skin preview.png is not found then a default generic MP image is used.
    • You can set the colors for the tv guide (genre colors and default colors).
      • All tv guide colors are now stored in SkinSettings.xml, not in MediaPortal.xml. Please delete the "tvguidecolors" section from your MediaPortal.xml (not doing so will not cause harm).
GUI.png ThemeSelect.png GuideColorsSelect.png GuideGenreMap.png
 
Last edited:

elliottmc

Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    United Kingdom United Kingdom
    Country flag
    All looking good. A definite improvement, and hopefully this can be tested during the alpha phase and included as a refinement of the new feature.

    Again though, how does a skin designer know what genres you will be using? We can assume that the skin designer is the best person to choose the colours to go with the skin, but you may want to remap/rename the genres. We need to take this possibility into account.

    Just a quick thought and in no way a criticism.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,607
    5,232
    France - IDF
    France France
    Country flag
    Hi Ajp;
    For change Date format in skin, Monday, January 1st 2010 -> Monday 1 January 2010 ?
    it can be integrated? unless it already exists
     

    MrCrabs

    Portal Pro
    January 21, 2010
    884
    129
    Braunschweig
    Germany Germany
    Shouldn't the date setting be under general settings? I remember that it took me two or three times till I remembered that the date setting is part of home plugin's configuration.
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    United Kingdom United Kingdom
    Country flag
    Whilst the skin engine's being re-designed can I make a couple of suggestions for your consideration.

    1. Change the Power Menu (or make it editable). At the moment it shows "Shutdown, Restart, Sleep, Hibernate" and defaults to Shutdown. As I use my PC as an HTPC, Sleep is the only option I ever use here (and what I will advise others I'm building HTPC's for to always use), but I fear it's too easy for the user to accidentally select the wrong option and Shutdown or Restart their system, so I think it would be better if it only showed Sleep (I have EventGhost setup to start MP when pressing my remote's Power button if MP isn't running, and to show the Power menu if it is and sometimes it's useful to Close MP to do something else, or just to clear a buggy situation). I would suggest moving the Shutdown, Restart and Hibernate options to under the Settings menu so that they're available on the rare occassions they might be needed, although Hibernate isn't so bad and could be left on the Power menu, as long as Standby is first and the default as this is what I imagine most people use, so making it the default would mean the user wouldn't need to move through the list, thus reducing the chance of accidentally selecting the wrong option.

    2. This is related to 1. I have no use for the Topbar but have to have it enabled so that I can have access to the Close button. I've edited the topbar.xml so that it only shows this button, but it seems a bit of a waste of resources to have to use a plugin just to show one button, so if Close could be incorporated into the Power menu, I could disable the topbar completely and it would be simpler for the user (and tidier) to have Close in the same menu as Sleep.
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    United Kingdom United Kingdom
    Country flag
    Whilst the skin engine's being re-designed can I make a couple of suggestions for your consideration.

    1. Change the Power Menu (or make it editable). At the moment it shows "Shutdown, Restart, Sleep, Hibernate" and defaults to Shutdown. As I use my PC as an HTPC, Sleep is the only option I ever use here (and what I will advise others I'm building HTPC's for to always use), but I fear it's too easy for the user to accidentally select the wrong option and Shutdown or Restart their system, so I think it would be better if it only showed Sleep (I have EventGhost setup to start MP when pressing my remote's Power button if MP isn't running, and to show the Power menu if it is and sometimes it's useful to Close MP to do something else, or just to clear a buggy situation). I would suggest moving the Shutdown, Restart and Hibernate options to under the Settings menu so that they're available on the rare occassions they might be needed, although Hibernate isn't so bad and could be left on the Power menu, as long as Standby is first and the default as this is what I imagine most people use, so making it the default would mean the user wouldn't need to move through the list, thus reducing the chance of accidentally selecting the wrong option.

    2. This is related to 1. I have no use for the Topbar but have to have it enabled so that I can have access to the Close button. I've edited the topbar.xml so that it only shows this button, but it seems a bit of a waste of resources to have to use a plugin just to show one button, so if Close could be incorporated into the Power menu, I could disable the topbar completely and it would be simpler for the user (and tidier) to have Close in the same menu as Sleep.
    - 0003757: [MediaPortal 1] Expand shutdown menu with "Restart MediaPortal" and "Exit MediaPortal" choices (SilentException) - merge pending.

    but did not make it into 1.3.0alpha.
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    United Kingdom United Kingdom
    Country flag
    - 0003757: [MediaPortal 1] Expand shutdown menu with "Restart MediaPortal" and "Exit MediaPortal" choices (SilentException) - merge pending.

    but did not make it into 1.3.0alpha.
    Thanks, that's great news. If the "dangerous" Restart and Shutdown options can't be hidden somewhere else, I'd at least like to see Sleep be the default though to help avoid users accidentally selecting those options.
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    United Kingdom United Kingdom
    Country flag
    - 0003757: [MediaPortal 1] Expand shutdown menu with "Restart MediaPortal" and "Exit MediaPortal" choices (SilentException) - merge pending.

    but did not make it into 1.3.0alpha.
    Thanks, that's great news. If the "dangerous" Restart and Shutdown options can't be hidden somewhere else, I'd at least like to see Sleep be the default though to help avoid users accidentally selecting those options.
    Well, the bottom line is that they can be hidden by editing the xml, which isn't too difficult and there are plenty of people who can help.

    The trouble is, if we change something that has always been there, many people will demand that we put it straight back.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    ajs [solved] 4935: Add string.replace function to Skin engine MediaPortal 1 10
    S Stiefmütterliche Unterstützung für Maussteuerung in MP (Titan Skin) Allgemeines Supportforum 14
    Rob Hexenmeister Skin functions: What is available? General Support 7
    Rob Hexenmeister Skinning Online Videos question OnlineVideos 2
    Rob Hexenmeister Quick question - skinning MyPics General Support 7
    ajs [Info] 0.7 Beta - MPExtended, WebMP, Bootstrap skin by ajs - Hard way MPExtended 602
    S Touchscreen skin? MediaPortal 1 Talk 6
    azzuro [fixed] 5011: Version label in Splash screen - pos, size from skin MediaPortal 1 61
    catavolt [WiP] When changing theme in my skins, I always get this error message in logs MediaPortal 1 9
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    V Skin With Menu Editor MediaPortal 1 Skins 13
    wizard123 New Skin Template ? MediaPortal 2 8
    Rob Hexenmeister [solved] Latest Media Handler - skinning buttons Fanart Handler 19
    CyberSimian [solved] MP1-4976 Built-in skin variables for current date MediaPortal 1 8
    Mr6686 [solved] Titan skin broken since update to 1.23 Installation, configuration support 6
    doskabouter Skin question Skins and Plugins Installer (MPEI) 1
    Y Titan Skin unter 1.23 nicht mehr so schön Allgemeines Supportforum 1
    framug 1.22.0 BasicHome Editor settings for DefaultWide HD skin not kept when update 1.22 3
    catavolt [solved] FanartHandler - Skin - Holiday and Spotlight support Fanart Handler 25
    ajs [fixed] 4936 - Strange behavior of the font in the skin MediaPortal 1 35
    ajs [solved] Latest Media Handler - Skin settings - Custom latests items number Fanart Handler 27
    Rob Hexenmeister [solved] Latests Media Handler - Skinning an updating window or control Fanart Handler 26
    T Skin Wechsel Installationsprobleme? 1
    JJDoherty Designing & implementing a new skin... Skins and Design 8
    D [fixed] Image browser crashing in Folder View (WMC skin) 2.2 Archive 10
    Similar threads

























    Top Bottom