Duncan Tourolle 4679b77d1a
Some checks failed
🏗️ Build Plugin / call (push) Failing after 0s
📝 Create/Update Release Draft & Release Bump PR / call (push) Failing after 0s
🔬 Run CodeQL / call (push) Failing after 0s
🧪 Test Plugin / call (push) Failing after 0s
First POC with podcasts library
2025-12-13 23:57:58 +01:00

23 lines
673 B
C#

using System;
using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
namespace Jellyfin.Plugin.Jellypod.Models;
/// <summary>
/// Container for podcast data persistence.
/// </summary>
public class PodcastDatabase
{
/// <summary>
/// Gets or sets the list of subscribed podcasts.
/// </summary>
[SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification = "Required for JSON deserialization")]
public Collection<Podcast> Podcasts { get; set; } = new();
/// <summary>
/// Gets or sets the last time the database was saved.
/// </summary>
public DateTime LastSaved { get; set; }
}