mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-17 03:33:46 +01:00
support custom ordering of user views
This commit is contained in:
@@ -163,13 +163,13 @@ namespace MediaBrowser.Dlna.Didl
|
||||
|
||||
if (string.Equals(subtitleMode, "CaptionInfoEx", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
var res = container.OwnerDocument.CreateElement("SEC", "CaptionInfoEx");
|
||||
//var res = container.OwnerDocument.CreateElement("SEC", "CaptionInfoEx");
|
||||
|
||||
res.InnerText = info.Url;
|
||||
//res.InnerText = info.Url;
|
||||
|
||||
// TODO: attribute needs SEC:
|
||||
res.SetAttribute("type", info.Format.ToLower());
|
||||
container.AppendChild(res);
|
||||
//// TODO: attribute needs SEC:
|
||||
//res.SetAttribute("type", info.Format.ToLower());
|
||||
//container.AppendChild(res);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<Profile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Name>DirecTV HD-DVR</Name>
|
||||
<Identification>
|
||||
<FriendlyName>^DIRECTV.*$</FriendlyName>
|
||||
<Headers>
|
||||
<HttpHeaderInfo name="User-Agent" value="DIRECTV" match="Substring" />
|
||||
</Headers>
|
||||
|
||||
Reference in New Issue
Block a user