Create own skin?!

Discussion in 'MediaPortal 1 Skins' started by MrJeeBee, November 4, 2008.

  1. MrJeeBee

    MrJeeBee Portal Member

    Joined:
    October 22, 2008
    Messages:
    6
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Germany Germany
    Hi folks,
    First... sorry for english, i will try my very best :rolleyes:

    :confused: OK...., the question is:

    What do I need to create my own skin?
    OR
    How can I create a skin?

    My intension is to have a skin with only some buttons for an easy handling!
    For example:
    On the Homescreen I want only the buttons for
    - Music (List my local mp3-collection)
    - CD ( => Titles/Track-Listing from the inserted CD)
    - Radio ( => Listing of my RadioChannels from Cable and Web)
    - DVD/BR ( => Playing the inserted DVD/BR)
    - Pictures (Show my local .jpg-Collection/Folders)

    ...the SubMenues should also have an easy Menue with the most needed buttons.



    All the others buttons ( for options and/or settings) should not appear in that skin and will be set in the MP-Config)

    Would be nice to get some answers! THX
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Spragleknas
    • Team MediaPortal
    • Administrator

    Spragleknas Administrator

    Joined:
    December 21, 2005
    Messages:
    9,472
    Likes Received:
    1,385
    Gender:
    Male
    Occupation:
    Occupied
    Location:
    Located
    Ratings:
    +1,892 / 12
    Home Country:
    Norway Norway
    Show System Specs
  4. ryan20021982
    • Premium Supporter

    ryan20021982 Retired Team Member

    Joined:
    June 27, 2008
    Messages:
    655
    Likes Received:
    83
    Occupation:
    Prison Guard
    Location:
    USA
    Ratings:
    +83 / 0
    Home Country:
    United States of America United States of America
    You dont need to create a skin to get those features just modify the basichome.xml of the skin you use

    Let me know what skin your using and I'll see what I can do
     
  5. MrJeeBee

    MrJeeBee Portal Member

    Joined:
    October 22, 2008
    Messages:
    6
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Germany Germany
    Create own skin.

    Thx ryan! "At the moment" I use PureVision 1.5! ...and thx for your offer!

    Do you have time after that hard night? ;)

    So, since my first thread, and after the answer from Spragleknas, I tried to begin at the basics by myself to that subject.
    So I still found out, that the BasicHome.xml is the point of my beginning!
    At the moment, I delete every button in this xml-file that I don't want to have step by step and try everytime the "new" basichome.xml im my MP. I think it is a complicated way but it still works!

    I still see my next problem/-s that I have to fix:
    1. To my "surprise" the/all xml-files are really only for the visibility (for buttons and "maps"?) in MP! I can't see any special commands or Links to the next screen to each button! How do every button (=image or multiimage) know what is to do on click??? How do a button know which screen is next to open??? :confused:
    I want to create new buttons for my own submenu like that:
    BasicHome-Screen a new button for Radio => new screen with only a list of all my radiochannels (and mybe only one button for "Back to BasicHome.xml-Screen)

    2.Hopefully the BasicHome.xml is not the only xml that I can edit that way, because I want to customize the SubMenus too!

    So, that is the current situation => Can you still see what you can do? ;) :D

    CU
     
  6. ryan20021982
    • Premium Supporter

    ryan20021982 Retired Team Member

    Joined:
    June 27, 2008
    Messages:
    655
    Likes Received:
    83
    Occupation:
    Prison Guard
    Location:
    USA
    Ratings:
    +83 / 0
    Home Country:
    United States of America United States of America
    ok here is my suggestion for you this is what you want

    - Music (List my local mp3-collection)
    - CD ( => Titles/Track-Listing from the inserted CD)
    - Radio ( => Listing of my RadioChannels from Cable and Web)
    - DVD/BR ( => Playing the inserted DVD/BR)
    - Pictures (Show my local .jpg-Collection/Folders)

    why not have them go directly to the screen you want and skip the sub menus

    if you look in the button code in the basichome.xml you will see <hyperlink> </hyperlink>
    usually with a number in it the number is the ID of the screen it goes to when clicked

    So you need to find the xml of the screen you want to see when you click the button then change the hyperlink to the ID of that screen, or plugin whatever
     
  7. MrJeeBee

    MrJeeBee Portal Member

    Joined:
    October 22, 2008
    Messages:
    6
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Germany Germany
    EXACTLY what I want!

    :oops: VERY QUICK!!! :D
    YOU MADE MY DAY!!!

    In sprite of my english you know exactly what I want!!! :eek:
    ...but:
    I can't find a named "hyperlink-2-File in the skin-folder!
    Do I have to seach all xml-Files and to check if there is a ID-2 in the "head"?

    Here I have a copy out from the BasicHome.xml for the Picture-Button:

    <control>
    <type>multiimage</type>
    <id>1</id>
    <posX>164</posX>
    <posY>113</posY>
    <width>523</width>
    <height>296</height>
    <imagepath>mypictures</imagepath>
    <timeperimage>3000</timeperimage>
    <fadetime>1000</fadetime>
    <loop>yes</loop>
    <randomize>false</randomize>
    <visible>Control.HasFocus(13)+!Player.HasVideo</visible>
    <animation effect="fade" time="200">VisibleChange</animation>
    </control>
    .
    .
    .
    <control>
    <description>pictures normal push button</description>
    <type>button</type>
    <id>13</id>
    <width>100</width>
    <height>35</height>
    <label>1</label>
    <hyperlink>2</hyperlink>
    <font>font14</font>
    <onleft>13</onleft>
    <onright>50</onright>
    <onup>2</onup>
    <ondown>3</ondown>
    <textureNoFocus>PVHome-nofocus.png</textureNoFocus>
    <textureFocus>PVHome-focus.png</textureFocus>
    <textXOff>13</textXOff>
    <textYOff>4</textYOff>
    <textcolor>coral</textcolor>
    <hover>-</hover>
    <hoverX>213</hoverX>
    <hoverY>108</hoverY>
    <hoverWidth>507</hoverWidth>
    <hoverHeight>358</hoverHeight>
    <animation effect="slide" start="-300,0" time="100">WindowOpen</animation>
    <animation effect="slide" end="-300,0" time="100">WindowClose</animation>
    </control>


    Means the "onleft/onright..."-numbers also ID's for a linked screen?

    It seems that my "projekt" have a chance!!!
     
  8. ryan20021982
    • Premium Supporter

    ryan20021982 Retired Team Member

    Joined:
    June 27, 2008
    Messages:
    655
    Likes Received:
    83
    Occupation:
    Prison Guard
    Location:
    USA
    Ratings:
    +83 / 0
    Home Country:
    United States of America United States of America
    Not sure what hyperlink 2 is see what that button does in the menu to help find what xml it is

    The on left-right are the placement of the buttons

    ok say you have 4 buttons in the basichome each button also has an ID just for that page
    say the ID's are 1 2 3 4

    so button number 2 the onleft-right would be

    <onleft>1</onleft>
    <onright>3</onright>

    All that does is tell it what button to go to when you hit the over right button and over left button
    So on left 1 means it will go to button ID 1 when you hit the over left button

    Kinda hard to explain in a post

    You can also add
    <onup></onup>
    <ondown></ondown>
    if you have 2 rows of buttons
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!