mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-26 12:05:04 +01:00
add IsRemote property
This commit is contained in:
@@ -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; }
|
||||
|
||||
@@ -92,6 +92,11 @@ namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
attributes.Add(StringHelper.FirstToUpper(Language));
|
||||
}
|
||||
else
|
||||
{
|
||||
attributes.Add("Und");
|
||||
}
|
||||
|
||||
if (IsDefault)
|
||||
{
|
||||
attributes.Add("Default");
|
||||
|
||||
Reference in New Issue
Block a user