add IsRemote property

This commit is contained in:
Luke Pulverenti
2017-01-20 12:53:48 -05:00
parent fe1630aec4
commit 8d668095bb
7 changed files with 61 additions and 12 deletions

View File

@@ -21,6 +21,11 @@ namespace MediaBrowser.Model.Dto
public string Name { get; set; }
/// <summary>
/// Differentiate internet url vs local network
/// </summary>
public bool IsRemote { get; set; }
public string ETag { get; set; }
public long? RunTimeTicks { get; set; }
public bool ReadAtNativeFramerate { get; set; }

View File

@@ -92,6 +92,11 @@ namespace MediaBrowser.Model.Entities
{
attributes.Add(StringHelper.FirstToUpper(Language));
}
else
{
attributes.Add("Und");
}
if (IsDefault)
{
attributes.Add("Default");