INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: unpn problem  (Read 2178 times)

mhwlng

  • Regular Member
  • World Citizen
  • ***
  • Posts: 235
  • nothing more to say...
unpn problem
« on: June 30, 2008, 04:16:54 am »

I'm trying to connect to the upnp server, using the microsoft control point api

FriendlyName: dev2 (Media Center)
Description: JRiver Media Center UPnP Media Server
ManufacturerName: JRiver, Inc.
ManufacturerURL: http://169.254.2.2:49310/www.jrmediacenter.com
ModelName: Media Center
ModelNumber: 1.0.50
Type: urn:schemas-upnp-org:device:MediaServer:1
UniqueDeviceName: uuid:31406D27-9330-4999-A8AB-8D39B48D657C


if I do a search, that works ok:

(lua programming language)
Code: [Select]
local deviceObj = nil
local soMediaServers = deviceFinder:FindByType( "urn:schemas-upnp-org:device:MediaServer:1", 0 )
for index,dObj in luacomE.pairs (soMediaServers) do
  if (dObj.FriendlyName == "dev2 (Media Center)") then
    deviceObj = dObj
    break
  end
end

but this takes 10 seconds.

If I try to connect directly, using the UDN, that doesn't work :

Code: [Select]
local deviceObj = deviceFinder:FindByUDN( "uuid:31406d27-9330-4999-a8ab-8d39b48d657c" )
this method works ok for all my other uPNP devices (denon 3808, twonkyvision, HDX900 NMT) ?


Regards,

Marcel




Logged

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: unpn problem
« Reply #1 on: June 30, 2008, 10:04:48 am »

Hi Marcel,

Could you make network sniffs as described here:
http://wiki.jrmediacenter.com/index.php/Sharing_Plug-in_Debugging_Hints
and send them to me (gateley @ jriver.com), along with a careful description of what you did, what worked, and what didn't?

Thanks,

j

John Gateley

  • Citizen of the Universe
  • *****
  • Posts: 4957
  • Nice haircut
Re: unpn problem
« Reply #2 on: June 30, 2008, 01:02:47 pm »

I'm trying to connect to the upnp server, using the microsoft control point api
If I try to connect directly, using the UDN, that doesn't work :
Code: [Select]
local deviceObj = deviceFinder:FindByUDN( "uuid:31406d27-9330-4999-a8ab-8d39b48d657c" )

I didn't implement SSDP for UDN. No other device has needed it. Do you really need this?

Quote
Also, is searching not implemented ?

Searching is not implemented, because it short-circuits all of Media Center's cool organizational tools.
The idea is to build your playlists and organize your media with MC, then play it from the device.

I also sent you an e-mail about the other problem (10 second search).

j
Pages: [1]   Go Up