Retrieve uPNP Status via JSON? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174) +---- Thread: Retrieve uPNP Status via JSON? (/showthread.php?tid=148530) |
Retrieve uPNP Status via JSON? - mossywell - 2012-12-16 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 RE: Retrieve uPNP Status via JSON? - Montellese - 2012-12-16 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. RE: Retrieve uPNP Status via JSON? - mossywell - 2012-12-16 Thanks for the quick reply. At least it means I didn't mess up searching the documentation. I'll see what I can do at the OS level instead then (though it's probably UDP making it a bit trickier.) |