UPnP MediaServer not working in XBMC for Windows?
#1
Question 
I have a Nokia N80 phone. One of the main reasons for purchasing this device (about two years ago) was its uPnP functionality. In those two years I've tried lots of uPnP software/hardware. The big disappointment was that the Nokia was not an uPnP renderer. So content from uPnP devices could not be played on the phone (only copied to). However, the phone could be used as a remote for choosing, playing, pausing etc content on an uPnP on the (W)LAN. This would be GREAT for XBMC. I would'nt need Bluetooth, web interface or PDA to be able to choose and play music without turning on a big LCD screen.


But............No go for uPnP on XBMC. Every other uPnP device from various sources (Tversity, Twonky, WMP 11 etc) is shown on the Nokia and displaying its content, but not XBMC. Ofcourse all uPnP settings are enabled and content is shared.

Am I missing something? Doing something wrong? Or is uPnP not fully implemented?
Reply
#2
upnp should work, but the i've never tested it with the nokia. could you post a debug log?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
XBMC only shares video and audio files that are in the library (database), have you scanned you files into the libraries?

Huh
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#4
I have scanned some music into the library and produced a log. Probably won't show anything weird because XBMC is working fine.

Both the XBMC: Media Renderer (192.168.1.12) and the XBMC: Media Server: (192.168.1.12) are shown by the SSDP Discovery-service in explorer, along with the Tversity server and the Home Media Server.

The Home Media Server GUI (from Simple Server) finds both XBMC devices. It also finds the TVersity Server. Note: The Tversity device allows content to copied TO and FROM as the XBMC server only alows content to be copied FROM.

Back to the Nokia. When scanning for devices it only show the Home media Server and the TVersity server. No XBMC devices (two are running on the same LAN). As said before, I can then choose content on the selected device and play on the remote device.



Code:
NOTICE: Mapping drive Q to C:\XBMC
NOTICE: Mapping drive U to C:\XBMC
NOTICE: Mapping drive Z to C:\XBMC\cache
NOTICE: Mapping drive T to C:\XBMC\UserData
NOTICE: -----------------------------------------------------------------------
NOTICE: Starting XBMC, Platform: Windows XP Professional Service Pack 2 build 2600.  Built on Aug 23 2008 (compiler 1500)
NOTICE: Q is mapped to: C:\XBMC
NOTICE: The executable running is: C:\XBMC\XBMC.exe
NOTICE: Log File is located: Q:\xbmc.log
NOTICE: -----------------------------------------------------------------------

  INFO: Checking skin version of: Project Mayhem III
  INFO: Skin version is: 2.1
  INFO:  GUI format 800x600 800 x 600
  INFO: install unhandled exception filter
  INFO: creating subdirectories
  INFO: userdata folder: C:\XBMC\UserData
  INFO:   recording folder:
  INFO:   screenshots folder:
  INFO:   thumbnails folder:C:\XBMC\UserData\Thumbnails
NOTICE: start dvd mediatype detection
NOTICE: initializing playlistplayer
NOTICE: DONE initializing playlistplayer
NOTICE: load default skin:[Project Mayhem III]
  INFO:   load skin from:C:\XBMC\skin\Project Mayhem III
  INFO:   delete old skin...
  INFO: Default 4:3 resolution directory is C:\XBMC\skin\Project Mayhem III\PAL
  INFO: Default 16:9 resolution directory is C:\XBMC\skin\Project Mayhem III\PAL16x9
  INFO: Skin version is: 2.1
  INFO: Loading skin includes from C:\XBMC\skin\Project Mayhem III\PAL\includes.xml
  INFO:   load fonts for skin...
DEBUG: thread start, auto delete: 0
DEBUG: Compiled with libcdio Version 0.80
  INFO: Loading fonts from C:\XBMC\skin\Project Mayhem III\PAL\Font.xml
DEBUG: CGUIFontTTF::Load Scaled size of font C:\XBMC\skin\Project Mayhem III\fonts\FrancophilSans.ttf (14.583334): width = 18, height = 18, lineheight = 18
DEBUG: CGUIFontTTF::Load Scaled size of font C:\XBMC\skin\Project Mayhem III\fonts\FrancophilSans.ttf (16.666668): width = 21, height = 20, lineheight = 20
DEBUG: CGUIFontTTF::Load Scaled size of font C:\XBMC\skin\Project Mayhem III\fonts\FrancophilSans.ttf (17.708334): width = 22, height = 22, lineheight = 21
DEBUG: CGUIFontTTF::Load Scaled size of font C:\XBMC\skin\Project Mayhem III\fonts\FrancophilSans.ttf (19.791668): width = 21, height = 24, lineheight = 24
DEBUG: CGUIFontTTF::Load Scaled size of font C:\XBMC\skin\Project Mayhem III\fonts\FrancophilSans.ttf (19.791668): width = 19, height = 24, lineheight = 24
DEBUG: unable to load C:\XBMC\skin\Project Mayhem III\language\english\strings.xml: Failed to open file at line 0
DEBUG: unable to load C:\XBMC\skin\Project Mayhem III\language\English\strings.xml: Failed to open file at line 0

DEBUG: CNetwork::NetworkMessage - Starting network services
NOTICE: Webserver: Starting...
DEBUG: xbmcHttpShim starts
NOTICE: starting upnp client
DEBUG: host name = www.google.com
NOTICE: starting upnp server
DEBUG:   <video> tag is missing or sources.xml is malformed
DEBUG:   <pictures> tag is missing or sources.xml is malformed
NOTICE: starting upnp renderer
DEBUG:   <video> tag is missing or sources.xml is malformed
DEBUG:   <pictures> tag is missing or sources.xml is malformed
  INFO: Not Following Redirect - Server returned: 302 Found
DEBUG: CThread::staticThread, deleting thread object
DEBUG: CThread::staticThread, deleting thread graphic context
DEBUG: Thread 3852 terminating
INFO: WEATHER: Weather download successful
NOTICE: ES: Starting event server
DEBUG: thread start, auto delete: 0
NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
NOTICE: UDP: Listening on port 9777
  INFO: GL: Enabling VSYNC
  INFO: GL: Selected vsync mode 2
DEBUG: CApplication::OnMessage : Translating ReplaceWindow(Home)
DEBUG: CApplication::OnMessage : To ReplaceWindow(Home)
DEBUG: Activating window ID: 10000
DEBUG: Checking if window ID 10000 is locked.
DEBUG: CThread::staticThread, deleting thread object
DEBUG: CThread::staticThread, deleting thread graphic context
DEBUG: Thread 928 terminating
DEBUG: thread start, auto delete: 0
  INFO: WebServer: Server starting using C:\XBMC\web on 192.168.1.12:80
DEBUG: DB: Registering database table <users>
DEBUG: DB: Registering database table <groups>
DEBUG: DB: Registering database table <access>
DEBUG: UM: Loading User Configuration from file <umconfig.txt>
DEBUG: DB: About to read data file <C:\XBMC\web\umconfig.txt>
DEBUG: webs: Listening for HTTP requests at address 192.168.1.12
NOTICE: Webserver: Started
DEBUG: Alloc resources: 40.65ms (0.00 ms skin load, 0.54 ms preload)
DEBUG: thread start, auto delete: 0
  INFO: Get URL: http://feeds.feedburner.com/XboxScene
DEBUG: host name = feeds.feedburner.com
DEBUG: Got rss feed: http://feeds.feedburner.com/XboxScene
DEBUG: RSS feed encoding: UTF-8
DEBUG: Parsed rss feed: http://feeds.feedburner.com/XboxScene
DEBUG: CThread::staticThread, deleting thread graphic context
DEBUG: Thread 3672 terminating
DEBUG: CApplication::OnMessage : Translating ActivateWindow(MyMusic)
DEBUG: CApplication::OnMessage : To ActivateWindow(MyMusic)
DEBUG: Activating window ID: 10502
DEBUG: Checking if window ID 10501 is locked.
  INFO: Attempting to default to:
  INFO: Loading skin file: MyMusicNav.xml
DEBUG: Load MyMusicNav.xml: 87.78ms
DEBUG: Alloc resources: 108.14ms (87.86 ms skin load, 1.31 ms preload)
DEBUG: CGUIMediaWindow::GetDirectory ()
DEBUG:   ParentPath = []
ARNING: DIRECTORY::CMusicDatabaseDirectory::GetLabel - Unknown nodetype requested 2
DEBUG: thread start, auto delete: 0
DEBUG: CThread::staticThread, deleting thread graphic context
DEBUG: Thread 2840 terminating
DEBUG: thread start, auto delete: 0
DEBUG: CThread::staticThread, deleting thread graphic context
DEBUG: Thread 2120 terminating
DEBUG: CApplication::OnKey: 61467 pressed, action is 10
DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
DEBUG: CGUIWindowManager::PreviousWindow: Activate new
  INFO: Loading skin file: Home.xml
DEBUG: Load Home.xml: 27.48ms
DEBUG: Alloc resources: 55.30ms (27.56 ms skin load, 0.56 ms preload)
DEBUG: thread start, auto delete: 1
  INFO: Not Following Redirect - Server returned: 302 Found
DEBUG: CThread::staticThread, deleting thread object
DEBUG: CThread::staticThread, deleting thread graphic context
DEBUG: Thread 2248 terminating
DEBUG: CApplication::OnMessage : Translating ActivateWindow(ShutdownMenu)
DEBUG: CApplication::OnMessage : To ActivateWindow(ShutdownMenu)
DEBUG: Activating window ID: 10111
DEBUG: Checking if window ID 10111 is locked.
  INFO: Loading skin file: DialogButtonMenu.xml
DEBUG: Load DialogButtonMenu.xml: 11.14ms
DEBUG: Alloc resources: 96.45ms (11.21 ms skin load, 0.69 ms preload)
DEBUG: CApplication::OnMessage : Translating XBMC.ShutDown()
DEBUG: CApplication::OnMessage : To XBMC.ShutDown()
NOTICE: Storing total System Uptime
NOTICE: Saving settings
NOTICE: stop all
DEBUG: CNetwork::NetworkMessage - Stopping network services
NOTICE: Webserver: Stopping...
DEBUG: WebServer:Exiting thread sockReady=0, sockSelect=0.
DEBUG: WebServer:OnExit - Exit web server.
DEBUG: CThread::staticThread, deleting thread graphic context
DEBUG: Thread 2864 terminating
DEBUG: xbmcHttpShim ends
DEBUG: xbmcHttp ends
NOTICE: Webserver: Stopped...
NOTICE: ES: Stopping event server
NOTICE: ES: UDP Event server stopped
DEBUG: CThread::staticThread, deleting thread graphic context
DEBUG: Thread 3488 terminating
NOTICE: stop dvd detect media
DEBUG: CThread::staticThread, deleting thread graphic context
DEBUG: Thread 876 terminating
NOTICE: stop sap announcement listener
NOTICE: clean cached files!
NOTICE: unload skin
DEBUG: thread start, auto delete: 0
  INFO: Get URL: http://feeds.feedburner.com/XboxScene
NOTICE: stop python
NOTICE: stopped
NOTICE: destroy
NOTICE: unload sections
DEBUG: SECTION:UnloadAll(SECTION: LIBHTTP)
Reply
#5
Try disable the Firewall that is built-into Windows XP and and try disable anti-virus or other software firewalls (most anti-virus software have a built-in firewall).
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#6
Don't have XP firewall on and the Eset antivirus is the one without a firewall.

Do have a router though. It's upnp. should auto detect ports to be mapped. Does XMBC uPnP need special ports to be open and/or mapped?
Reply
#7
Update: Disabling the Firewall on the route did not help
Reply
#8
Are you trying to stream THROUGH the router or are you only using it as a switch?
Can you rule out the router by using a normal switch or cross-over cable instead?

Basic troubleshooting always begins by ruling out as many things as possible Wink
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#9
Sadly, I can't disable the router. It's a Wireless router and therefore suppling my Nokia N80 with internet and LAN accesss.

The thing is, that the other (software) upnp devices are shown on the Nokia (three of them) but the XBMC just is not. XBMC's devices however DO appear on other computers in the LAN.

Tversity, Home media Server, Twonky all have port settings in their settings to be manually mapped on a router if one would not own a UPnP router. Mine does and subsequently shows any uPnP devices on the LAN

I can only try to visit another owner who has wireless LAN, XBMC on a windows computer and try it from there..........Confused
Reply
#10
Another thing. XBMC itself does not "see" the Nokia as an uPnp device. It does see the other uPnP devices.

Tversity and the other MediaServers do see the Nokia as an uPnP device.

For the record. I've reset my Nokia to the factory defaults and enabled uPnp as per manual.

Seems that Nokia is following other guidelines or perhaps XMBC's uPnP might be missing some protocols......
Reply
#11
First off, thats to everyone for this wonderful software. Tt has changed my life. Big Grin

Now to the point. I think DragonFly is right as I took am unable to see the uPnP device. I have XBMC running on an Xbox and on Windows. When I enable uPnP on the Xbox I am able to detect it as a uPnP device on Windows. But when I try to find the Windows uPnP device on the Xbox I find nothing at all. Ive disabled firewalls, antivirus's, everything and still no uPnP server. :confused2:
Reply
#12
Does it have something to do with the fact that XBMC for Windows' networking capabilities are not yet fully working?

At this moment networking issues occur when executing 3rd party scripts and plugins that require a network connection for streaming content
Reply
#13
I have noticed something strange on this matter. If the debug log is active and I go to the upnp settings and turn off upnp renderer, then I start the upnp renderer again. It looks like the upnp is looking for something in the sources.xml
17:08:30 T:2492 M:1516564480 NOTICE: starting upnp renderer
17:08:30 T:2492 M:1516560384 DEBUG: <music> tag is missing or sources.xml is malformed
17:08:30 T:2492 M:1516560384 DEBUG: <video> tag is missing or sources.xml is malformed
17:08:30 T:2492 M:1516560384 DEBUG: <pictures> tag is missing or sources.xml is malformed


Although, I know the sources.xml (the one in APPDATA) is right. I even tried editing the one in C:\Program files\XML\userdata\source.xml. But the log will still show the same.
Reply
#14
I have problems with UPnP under Windows aswell. While all other hardware can see my windows nero mediahome based server, and windows sees all hardware upnp servers, XBMC neither sees any upnp devices, nor is seen by any of them.

Where could I start? :|
Reply

Logout Mark Read Team Forum Stats Members Help
UPnP MediaServer not working in XBMC for Windows?0