Try possible solutions

pull/2326/head
Bond_009 5 years ago
parent bade35958a
commit fc578de3b3

@ -882,7 +882,7 @@ namespace Emby.Dlna.Didl
var albumartUrlInfo = GetImageUrl(imageInfo, _profile.MaxAlbumArtWidth, _profile.MaxAlbumArtHeight, "jpg");
writer.WriteStartElement("upnp", "albumArtURI", NS_UPNP);
writer.WriteStartElement("albumArtURI", NS_UPNP);
writer.WriteAttributeString("dlna", "profileID", NS_DLNA, _profile.AlbumArtPn);
writer.WriteString(albumartUrlInfo.Url);
writer.WriteFullEndElement();

@ -71,7 +71,8 @@ namespace Emby.Dlna.Service
var settings = new XmlWriterSettings
{
Encoding = Encoding.UTF8,
CloseOutput = false
CloseOutput = false,
NamespaceHandling = NamespaceHandling.OmitDuplicates
};
StringWriter builder = new StringWriterWithEncoding(Encoding.UTF8);

Loading…
Cancel
Save