Sending a message to all clients ...
#1
I run Kodi on an HTPC and interact with commonly with both an Android app (Kore) and a web interface (Chorus).

I'm using a script that write messages on the Kodi screen fine using:

xbmc.executebuiltin('Notification(...

but I'd like to see a message on my phone app, and/or web interface too. I'm not actually looking at Kodi's screen much as I use it mainly as an audio player anyhow.  I found NotifyAll, and I've tried:

xbmc.executebuiltin('NotifyAll(...

but I can't get that to work. I can't find any useful examples. The documentation:

https://codedocs.xyz/xbmc/xbmc/class_j_s...2d51051b64

is not particularly helpful alas. And I found an example to two, but they don't help me much either:

https://raw.githubusercontent.com/ruuk/s...oSpeech.py
https://github.com/mpolednik/script.kodi...default.py

So I'm wondering if what I want is even possible. I just want a message to appear in Kore and Chorus when my script runs. Easy enough, I'd have hoped ;-).
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Sending a message to all clients ...00