Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 4 of 4

Thread: Auto button bar / Skin.py patch

  1. #1
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,574
    Thanks
    2,004
    Thanked 4,925 Times in 3,259 Posts

    Auto button bar / Skin.py patch

    This piece of code allows skinners to create a fully automatic button bar. Once the skin is updated it will automatically show the correct buttons based on what is assigned in the python code. The code is backwards compatible so all current skins will continue to work normally, but it is advisable to update your skins to this style of button bar as it will adapt automatically to changes in the python code.

    Skins already adapted:
    • Simple Ten Eighty
    • ViX Day HD
    • ViX Night HD
    • iSkin Light
    • iSkin Dark
    • Magic HD
    • Magic FHD
    • YouViX Blue
    • YouViX Green
    • YouViX Red
    • YouViX Purple
    • ViXBMC 1080 Bello
    • ViXBMC 1080 Confluence
    Last edited by Huevos; 09-02-18 at 21:02.
    Help keep OpenViX servers online.Please donate!

  2. The Following 3 Users Say Thank You to Huevos For This Useful Post:

    Andy_Hazza (09-02-18),khan888 (09-02-18),Sicilian (10-02-18)

  3. #2
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,574
    Thanks
    2,004
    Thanked 4,925 Times in 3,259 Posts

    How to...

    How to...

    Delete all the button entries from the skin file.

    Create a button bar, something like this: https://github.com/OpenViX/skins/com...32cfd7971dc957

    Then to use it you can either:
    1) import the button bar into your main template so the it is always imported into every screen, or,
    2) use it directly in skin.xml on a screen by screen basis

    IMO option 1 is best because one template controls the complete layout of every screen that uses it. And option 1 saves hundreds of entries in the skin.xml file compared to option 2.
    Last edited by Huevos; 11-02-18 at 14:30. Reason: Update link
    Help keep OpenViX servers online.Please donate!

  4. The Following User Says Thank You to Huevos For This Useful Post:

    Sicilian (10-02-18)

  5. #3
    Valiant's Avatar
    Title
    Senior Member
    Join Date
    May 2016
    Posts
    144
    Thanks
    99
    Thanked 37 Times in 32 Posts
    The link to the button example above does not work - "not found" returned.
    VU+ Uno 4K SE Twin FBC Tuner 1TB HDD - Magic-FHD skin
    TV - LG OLED55CS6LA
    Remote - Logitech Harmony One

  6. The Following User Says Thank You to Valiant For This Useful Post:

    klor (12-09-22)

  7. #4
    Huevos's Avatar
    Title
    Administrator
    Join Date
    Jun 2010
    Location
    38.5N, 0.5W
    Posts
    13,574
    Thanks
    2,004
    Thanked 4,925 Times in 3,259 Posts
    Quote Originally Posted by Valiant View Post
    The link to the button example above does not work - "not found" returned.
    Try again.
    Help keep OpenViX servers online.Please donate!

  8. The Following User Says Thank You to Huevos For This Useful Post:

    Valiant (11-02-18)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.