@@ -5,7 +5,13 @@ namespace MediaBrowser.Model.Entities
{
public string Url { get; set; }
public string Name { get; set; }
- public bool? IsHD { get; set; }
+ public VideoSize? VideoSize { get; set; }
public bool IsDirectLink { get; set; }
}
+
+ public enum VideoSize
+ {
+ StandardDefinition,
+ HighDefinition
+ }
@@ -802,7 +802,7 @@ namespace MediaBrowser.Providers.Movies
Url = string.Format("http://www.youtube.com/watch?{0}", i.source),
IsDirectLink = false,
Name = i.name,
- IsHD = string.Equals("hd", i.size, StringComparison.OrdinalIgnoreCase)
+ VideoSize = string.Equals("hd", i.size, StringComparison.OrdinalIgnoreCase) ? VideoSize.HighDefinition : VideoSize.StandardDefinition
}).ToList();