Files
ersatztv/ErsatzTV.Core/Streaming/ExternalJsonProgram.cs
T
Jason DoveandGitHub 0330b9326d add external json playout type for dizquetv interop (#1539)
* add external json playout

* basic local playback works

* fallback to streaming from plex

* update external json file

* update changelog
2024-01-08 19:45:43 -06:00

40 lines
894 B
C#

using Newtonsoft.Json;
namespace ErsatzTV.Core.Streaming;
public class ExternalJsonProgram
{
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("showTitle")]
public string ShowTitle { get; set; }
[JsonProperty("season")]
public int Season { get; set; }
[JsonProperty("episode")]
public int Episode { get; set; }
[JsonProperty("key")]
public string Key { get; set; }
[JsonProperty("ratingKey")]
public string RatingKey { get; set; }
[JsonProperty("type")]
public string Type { get; set; }
[JsonProperty("duration")]
public int Duration { get; set; }
[JsonProperty("plexFile")]
public string PlexFile { get; set; }
[JsonProperty("file")]
public string File { get; set; }
[JsonProperty("serverKey")]
public string ServerKey { get; set; }
}