mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
PS3 DLNA fix
This commit is contained in:
parent
baf5cf2544
commit
307be007ba
1 changed files with 4 additions and 2 deletions
|
@ -133,7 +133,7 @@ namespace MediaBrowser.Dlna.Server
|
||||||
throw new ResourceNotFoundException("Unexpected control request name: " + method.LocalName);
|
throw new ResourceNotFoundException("Unexpected control request name: " + method.LocalName);
|
||||||
|
|
||||||
var env = new XmlDocument();
|
var env = new XmlDocument();
|
||||||
env.AppendChild(env.CreateXmlDeclaration("1.0", "utf-8", "yes"));
|
env.AppendChild(env.CreateXmlDeclaration("1.0", "utf-8", string.Empty));
|
||||||
var envelope = env.CreateElement("SOAP-ENV", "Envelope", NS_SOAPENV);
|
var envelope = env.CreateElement("SOAP-ENV", "Envelope", NS_SOAPENV);
|
||||||
env.AppendChild(envelope);
|
env.AppendChild(envelope);
|
||||||
envelope.SetAttribute("encodingStyle", NS_SOAPENV, "http://schemas.xmlsoap.org/soap/encoding/");
|
envelope.SetAttribute("encodingStyle", NS_SOAPENV, "http://schemas.xmlsoap.org/soap/encoding/");
|
||||||
|
@ -222,7 +222,9 @@ namespace MediaBrowser.Dlna.Server
|
||||||
|
|
||||||
private IEnumerable<KeyValuePair<string, string>> HandleGetSystemUpdateID()
|
private IEnumerable<KeyValuePair<string, string>> HandleGetSystemUpdateID()
|
||||||
{
|
{
|
||||||
return new Headers { { "Id", _systemUpdateId.ToString(_usCulture) } };
|
var headers = new Headers(true);
|
||||||
|
headers.Add("Id", _systemUpdateId.ToString(_usCulture));
|
||||||
|
return headers;
|
||||||
}
|
}
|
||||||
|
|
||||||
private IEnumerable<KeyValuePair<string, string>> HandleXGetFeatureList()
|
private IEnumerable<KeyValuePair<string, string>> HandleXGetFeatureList()
|
||||||
|
|
Loading…
Reference in a new issue