* add remote stream metadata * use ifilesystem for last write time * clean up unused inheritance * optimize channel data query * revert removeartwork change * properly handle remote stream artwork in orphaned artwork check
34 lines
1.1 KiB
C#
34 lines
1.1 KiB
C#
using YamlDotNet.Serialization;
|
|
|
|
namespace ErsatzTV.Core.Streaming;
|
|
|
|
public class YamlRemoteStreamDefinition
|
|
{
|
|
[YamlMember(Alias = "url", ApplyNamingConventions = false)]
|
|
public string Url { get; set; }
|
|
|
|
[YamlMember(Alias = "script", ApplyNamingConventions = false)]
|
|
public string Script { get; set; }
|
|
|
|
[YamlMember(Alias = "duration", ApplyNamingConventions = false)]
|
|
public string Duration { get; set; }
|
|
|
|
[YamlMember(Alias = "fallback_query", ApplyNamingConventions = false)]
|
|
public string FallbackQuery { get; set; }
|
|
|
|
[YamlMember(Alias = "is_live", ApplyNamingConventions = false)]
|
|
public bool? IsLive { get; set; }
|
|
|
|
[YamlMember(Alias = "title", ApplyNamingConventions = false)]
|
|
public string Title { get; set; }
|
|
|
|
[YamlMember(Alias = "plot", ApplyNamingConventions = false)]
|
|
public string Plot { get; set; }
|
|
|
|
[YamlMember(Alias = "year", ApplyNamingConventions = false)]
|
|
public int? Year { get; set; }
|
|
|
|
[YamlMember(Alias = "content_rating", ApplyNamingConventions = false)]
|
|
public string ContentRating { get; set; }
|
|
}
|