First POC with podcasts library
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Jellyfin.Plugin.Jellypod.Api.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Request to add a new podcast.
|
||||
/// </summary>
|
||||
public class AddPodcastRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the RSS feed URL.
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string FeedUrl { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets whether to enable auto-download.
|
||||
/// </summary>
|
||||
public bool? AutoDownload { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user