Kodi inputaction

Yes, this new feature is a huge advantage and adds a lot of possibilities for some implementations (e.g. HABPanel Kodi Remote or HABPanel Kodi Remote).

1 Like

YESS!!! didnt think about that its something i have been thinking about im still pretty new too all this but its on my list of things too try too do i would also like a progress bar for whats now playing not seen much about that

how do you update OH looking at the docs i can see how to update the main OH install (copy new ver over the old ver) are bindings included or do you have to manually update bindings

im scared too update anything updates normally break stuff

https://docs.openhab.org/installation/windows.html#updating-the-openhab-runtime

Nice idea. A few days ago another guy asked for requesting the duration of a movie/track/song etc. too. Sounds to be worthy enough to implement a new channel for it. :wink:

I guess you just found the place where you have to look for instructions. Additionally you can scroll up to post #4.

Especially now there’s a chance to build a habpannel remote a progress bar would fit nice

So its a manual process is this the case for every binding everytime theres a new version (uninstall old install new) iv not updated anything yet this would be the first time like a said bit scared tbh don’t fully understand how OH works (just looked at addons section you linked still confused on that)

How do you know when there are new versions of the bindings this is the first i have seen of a binding update

I followed the FAQ procedure and karaf lists the new version of the binding but PaperUI doesn’t show the new inputaction channel.

Am I missing something?

Did you create your Kodi thing before updating or after updating to latest version? If it was before you maybe have to recreate it.

//EDIT: Please be aware that the inputaction is an advanced channel which is hidden by default in PaperUI. You have to click in the “show more” button to collapse all channels.

Re-creating the Kodi thing revealed the new channels, thanks for all your help.

I’m glad you got it working. You’re welcome.

No, it isn’t. This was only one way of many. E.g. you’re always on the newest version of all bindings if you use the snapshot.

We have a new snapshot version nearly every day. Sometimes more than one, sometimes less. One way to keep track of that is to subscribe to the RSS feed on cloudbees.com.

Thanks m8

One question: Which data do you need for a progress bar? Of course the duration / runtime of the current track and the currentTime. Are seconds enough or additionally a value in percent (e.g. currentTimePercantage)?

seconds would be fine percentages would be a bonus

I finally found some time to incorporate your requested features. Feedback will be very much appreciated.

i will have a look and get back to you i need to update my binding first

is it also possible for OH to make kodi to update or cleanup the library

I’m going too be ready too try this soon I’m slightly worried I have quite a few rules that revolve around my kodi machines how do you uninstall a binding will this damage my rules that use the old binding

The Kodi API provides methods for those tasks. But the Kodi binding currently doesn’t support them. Maybe you can work out a solution based on curl.

Do you use Kodi as an audio sink for notifications? If not I expect no breaking changes for your rules.

I’m using a Google home for notifications ect

Sorry this has took awhile to get around too looking at and thanks again.

I have finally made a copy of my openhab setup to a different machine for testing purposes so i’m feeling up to trying this out now that there no risk of damaging my setup.

I’m still pretty new to all this so i’m unsure if i have done this correctly

I have uninstalled the old kodi binding using paperUI and then downloaded the version you linked and moved that too my addons folder …

when i checked for a new channel nothing appeared i also deleted and re added my kodi thing same results any ideas whats wrong ?

the binding that i uninstalled was an old version that didnt have the inputaction channel

See