Kodi Community Forum
UPnP disabled since r9454? - 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)
+--- Thread: UPnP disabled since r9454? (/showthread.php?tid=28219)



UPnP disabled since r9454? - CapnBry - 2007-08-29

I've been playing with UPnP on MythTV and using XBMC as my frontend but wasn't getting any of the debug logging stuff I had hacked into platinum. A little digging led me to xbmc/xbox/Network.cpp:545
Code:
#ifndef HAS_UPNP
       g_application.StartUPnP();
#endif
Isn't that backwards? Both the SERVICES_UP and SERVICES_DOWN start/stop the UPnP subsystem only if the target platform doesn't have UPnP? This was added in r9454 along with all the other defines for HAS_TIME_SERVER, HAS_WEB_SERVER, etc... all of which are in #ifdef blocks, not #ifndef.


- CapnBry - 2007-08-29

Forgot to mention this is in the linuxport branch.


- CapnBry - 2007-08-29

Which means I have posted this to the wrong subforum (/facepalm).


- elupus - 2007-08-29

thanx fixed in svn