support custom ordering of user views

This commit is contained in:
Luke Pulverenti
2014-08-18 21:42:53 -04:00
parent 6a2f6782d3
commit b48d15296c
14 changed files with 195 additions and 78 deletions

View File

@@ -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
{

View File

@@ -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>