oeuillot / upnpserver

Fast and light upnp server for node
GNU General Public License v2.0
181 stars 47 forks source link

Device #44

Closed dearchap closed 9 years ago

dearchap commented 9 years ago

Can you merge just the rootdevice.js changes.

dearchap commented 9 years ago

Hi I need to customize the endpoint URLs. So instead of having them as yyy/scpd.xml i want them as yyyy.xml. Thats what prompted the first rootdevice descritpionendpoint change. I need to make similar changes for services too.

s-leger commented 9 years ago

Hi, Should not be a problem, as long as you keep the route segment. On rootdevices, the route segment is / On embed devices route segment is the device name

s-leger commented 9 years ago

Upnp specs dosen't specify any route restriction, as long as ssdp advertise for the right one. Are those path hardcoded somewhere in Sonos devices ? (i know they don't care that mutch of following standards ... ) Maybe we have to rewrite request routing logic to handle such crappy implementations cases ?