Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit 411cf35

Browse files
committed
Fix GitHub issue #1
Changes sending of an empty metadata document (which was wrongly escaped) to sending no metadata at all. The metadata document should not have been escaped at all at this stage, probably leading to double escaping and parsing errors in some renderers.
1 parent c047a8a commit 411cf35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LocalAudioBroadcast/ControlPoint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public void SetAVTransportURI() {
176176
UPnPArgument[] args = new UPnPArgument[] {
177177
new UPnPArgument("InstanceID", (uint)0),
178178
new UPnPArgument("CurrentURI", DirectoryServer.S1),
179-
new UPnPArgument("CurrentURIMetaData", "<DIDL-Lite></DIDL-Lite>")
179+
new UPnPArgument("CurrentURIMetaData", null)
180180
};
181181

182182
service.InvokeSync("SetAVTransportURI", args);

0 commit comments

Comments
 (0)