First POC with podcasts library
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user