Skip to content

Commit

Permalink
Update dms.go
Browse files Browse the repository at this point in the history
  • Loading branch information
tsynik committed Aug 27, 2021
1 parent 530b62c commit 3ac0277
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dlna/dms/dms.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const (
resPath = "/res"
iconPath = "/icon"
rootDescPath = "/rootDesc.xml"
contentDirectorySCPDURL = "/scpd/ContentDirectory.xml"
//contentDirectorySCPDURL = "/scpd/ContentDirectory.xml"
contentDirectoryEventSubURL = "/evt/ContentDirectory"
serviceControlURL = "/ctl"
deviceIconPath = "/deviceIcon"
Expand Down Expand Up @@ -85,13 +85,13 @@ var services = []*service{
},
SCPD: contentDirectoryServiceDescription,
},
// {
// Service: upnp.Service{
// ServiceType: "urn:schemas-upnp-org:service:ConnectionManager:1",
// ServiceId: "urn:upnp-org:serviceId:ConnectionManager",
// },
// SCPD: connectionManagerServiceDesc,
// },
{
Service: upnp.Service{
ServiceType: "urn:schemas-upnp-org:service:ConnectionManager:1",
ServiceId: "urn:upnp-org:serviceId:ConnectionManager",
},
SCPD: connectionManagerServiceDesc,
},
}

// The control URL for every service is the same. We're able to infer the desired service from the request headers.
Expand Down

0 comments on commit 3ac0277

Please sign in to comment.