First POC with podcasts library
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Jellyfin.Plugin.Jellypod.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the download status of a podcast episode.
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public enum EpisodeStatus
|
||||
{
|
||||
/// <summary>
|
||||
/// Episode is known but not downloaded.
|
||||
/// </summary>
|
||||
Available,
|
||||
|
||||
/// <summary>
|
||||
/// Episode is currently being downloaded.
|
||||
/// </summary>
|
||||
Downloading,
|
||||
|
||||
/// <summary>
|
||||
/// Episode has been downloaded and is available locally.
|
||||
/// </summary>
|
||||
Downloaded,
|
||||
|
||||
/// <summary>
|
||||
/// Download failed.
|
||||
/// </summary>
|
||||
Error
|
||||
}
|
||||
Reference in New Issue
Block a user