Retrieve uPNP Status via JSON?
#1
Frodo RC1

Does anyone know if it is possible to use JSON RPC to detect if XBMC is acting as a uPNP media server? I tried GetActivePlayers but that was an empty array (unsurprisingly). I checked out the online documentation and did a search for upnp but it didn't show anything.

TIA
Reply
#2
The only way to access upnp through JSON-RPC is to use Files.GetDirectory with a "upnp://" path. But it won't tell you whether it's active or not.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#3
Thanks for the quick reply. At least it means I didn't mess up searching the documentation. Smile
I'll see what I can do at the OS level instead then (though it's probably UDP making it a bit trickier.)
Reply

Logout Mark Read Team Forum Stats Members Help
Retrieve uPNP Status via JSON?0