1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Kodi addon rework - suggestions and feature requests are welcome

Discussion in 'Development' started by Rick164, 16 December 2016.

Tags:
  1. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    159
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Hi,

    Recently started learning Python which coming from .NET (Windows) world took some time but got the hang of it and decided as first project to start with the official Hyperion Kodi addon since that could use some attention.

    What I've added so far:

    • Delay support per refresh rate or global which for some TV panels is needed as their response times (ms) vary depending on refresh rate, deprecated old refresh rate setting as it messed with precision / timings
    • Removed old API calls / check during main loop, this improves performance and since we only push version for Kodi 17 and up in separate repo this will be fine (not in PR yet)
    • Priority now gets cleared and removed 500ms expiry of message, this will help for somewhat buggy multiple instances where priorities 'hang' (leaving leds on)

    See this PR for current overview: https://github.com/hyperion-project/hyperion.kodi/pull/31

    Most of these ideas come from AtmoLight which works very well already with plenty of users, what we have planned next:

    • Rework of settings / states by @Wolph (depending on free time)
    • New transparent logo as the white one isn't nice with certain themes (Aeon Nox for instance), maybe @Brindosch has one already?
    • Context menu for control, will be based on the way Super Favorites does it which while limited by API will allow for some functionality.
    • Wizard for setup and discovery, can be done once Hyperion-ng is mainstream
    • Support state readouts and behaviour per state

    If you guys have any features requests or ideas for improving just let us know :)
     
    Last edited: 29 December 2016
  2. Twinstar

    Twinstar New Member

    Messages:
    1
    Hardware:
    32/64bit, +Arduino
    Can you add Windows 10 Support? So we can use Hyperion, with just an Arduino and Kodi.
     
  3. redPanther

    redPanther Moderator Developer

    Messages:
    188
    Hardware:
    RPi1/Zero, RPi2, 32/64bit, +Arduino
    Would be nice if kodi plugin have the ability to assign an action to a kodi state. It is more or less an extended version of kodichecker from hyperion, but not only grab on/off. Assigning effect, color, grabbing and led mapping type to specific kodi state should be possible.

    The cool thing about this is we can remove kodi code from hyperiond. This means less maintenance for us.
     
  4. mcl22

    mcl22 New Member

    Messages:
    3
    Hardware:
    RPi2, RPi3
    I'd love to see the add-on working with the kodi music visualization and perhaps also in the menus (changable through config?).

    Something that would be really cool, was something like a hyperion own music visualization with the option to chosse if one just wants the add-on to work with the kodi build-in visualization (tv on) or with its own when the tv is switched of. But I guess thats probably that easy :)
     
  5. edwinvd1

    edwinvd1 Member

    Messages:
    30
    Hardware:
    RPi2, Wetek, +Arduino
    Disable on android boxes/system the hardware acceleration.
    can this be fixed?
     
  6. redPanther

    redPanther Moderator Developer

    Messages:
    188
    Hardware:
    RPi1/Zero, RPi2, 32/64bit, +Arduino
    I fear that is an kodi issue, not something that can be handled by a plugin.
     
  7. Rick164

    Rick164 Administrator Staff Member Administrator

    Messages:
    159
    Hardware:
    RPi2, +Arduino, +AtmoOrb
    Added states support to the list, this is doable in Kodi API.

    However Android we have no control over as it's an Kodi issue like @redPanther mentioned, basically with hardware acceleration on the method we use to grab the image returns nothing.
    Best thing we can do is kindly ask the Kodi developers to either:

    - Give use a new hook into the renderer like we have in AtmoLight (Mediaportal) with onFrame events
    - Fix RenderCapture so that it works with all devices / platforms

    First option is better as we can do onFrame events to make it precise and not have a loop we hope is in sync all the time (our current approach).