Kodi Community Forum

Full Version: UPnP disabled since r9454?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Forgot to mention this is in the linuxport branch.
Which means I have posted this to the wrong subforum (/facepalm).
thanx fixed in svn