Hi,
I have a kodi binding via paperui (all is on latest stable, oh2.2) and commands work fine like volume, play/pause, but textual items do not show neither in paperui nor when I add items manually.
In logs I see item changing when I change it, but it immediately changes back to UNDEF
2017-12-28 23:10:25.948 [vent.ItemStateChangedEvent] - myKodi_notification changed from NULL to MyValue
2017-12-28 23:10:25.957 [vent.ItemStateChangedEvent] - myKodi_notification changed from MyValue to UNDEF
In paperUi it only shows a dash “-” next to the values.
Same happens if I add item manually like
I couldn’t google anything, any clues where I can start debugging?
Should I perhaps uninstall binding from paperui and manually add it via config files, would I have a bit more control that way?
Thanks!
for the shownotification channel it’s the expected behavior. You can send a String to it which will be displayed in the Kodi GUI. After that it is set to UNDEF again. The channels title, album, etc. are only populated with data while watching a movie or listening to music. Otherwise they are set to UNDEF too.
Thanks. I Just tested now and all seems to work fine. It looks like Kodi has some bug with local media and title is not set for local media, and notifications have 15s delay. All works fine when i play some radio. But it is a Kodi thing, nothing with a binding to do.
Do you perhaps have a example of how to play some uri on Kodi, for example a YouTube video of a playlist?
I would like to play some music when certain rules trigger
Thank you again for the help
Thank you very much, it helped a lot. It works with url you provided (works in mappings as well, although link is on the left and name on the right).
It doesn’t work with youtube link directly, I’ve found on the web that a plugin should be called as a command, with payload containing youtube video id, something like (untested)
I suppose a systemcommand should be used for this kind of “raw” commands (?)
I will try this after the holidays.
I just tested a direct call to kodi http api from chrome and it works, so that could be a valid workaround.
This is what I pasted in chrome browser if anyone needs it (it is encoded payload from above)