mirror of https://github.com/ErsatzTV/ErsatzTV.git
Browse Source
* add collection content to yaml playout * add smart_collection content * add multi_collection content * add playlist contentpull/1842/head
9 changed files with 150 additions and 4 deletions
@ -0,0 +1,6 @@ |
|||||||
|
namespace ErsatzTV.Core.Scheduling.YamlScheduling.Models; |
||||||
|
|
||||||
|
public class YamlPlayoutContentCollectionItem : YamlPlayoutContentItem |
||||||
|
{ |
||||||
|
public string Collection { get; set; } |
||||||
|
} |
@ -0,0 +1,9 @@ |
|||||||
|
using YamlDotNet.Serialization; |
||||||
|
|
||||||
|
namespace ErsatzTV.Core.Scheduling.YamlScheduling.Models; |
||||||
|
|
||||||
|
public class YamlPlayoutContentMultiCollectionItem : YamlPlayoutContentItem |
||||||
|
{ |
||||||
|
[YamlMember(Alias = "multi_collection", ApplyNamingConventions = false)] |
||||||
|
public string MultiCollection { get; set; } |
||||||
|
} |
@ -0,0 +1,11 @@ |
|||||||
|
using YamlDotNet.Serialization; |
||||||
|
|
||||||
|
namespace ErsatzTV.Core.Scheduling.YamlScheduling.Models; |
||||||
|
|
||||||
|
public class YamlPlayoutContentPlaylistItem : YamlPlayoutContentItem |
||||||
|
{ |
||||||
|
public string Playlist { get; set; } |
||||||
|
|
||||||
|
[YamlMember(Alias = "playlist_group", ApplyNamingConventions = false)] |
||||||
|
public string PlaylistGroup { get; set; } |
||||||
|
} |
@ -0,0 +1,9 @@ |
|||||||
|
using YamlDotNet.Serialization; |
||||||
|
|
||||||
|
namespace ErsatzTV.Core.Scheduling.YamlScheduling.Models; |
||||||
|
|
||||||
|
public class YamlPlayoutContentSmartCollectionItem : YamlPlayoutContentItem |
||||||
|
{ |
||||||
|
[YamlMember(Alias = "smart_collection", ApplyNamingConventions = false)] |
||||||
|
public string SmartCollection { get; set; } |
||||||
|
} |
Loading…
Reference in new issue