mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
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; } |
|
}
|
|
|