feat(repo): add request plugin with jellyfin catalog manifest
Ship the plugin sources, release zip, and SeerrFin-style manifest.json so Jellyfin can install from the Gitea raw repository URL. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
3a1960d860
commit
bf6cd4540f
30 files changed
+3096
No files matched your search
@@ -0,0 +1,44 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Jellyfin.Plugin.Request.Api;
|
||||
|
||||
/// <summary>
|
||||
/// Body for creating a media request.
|
||||
/// </summary>
|
||||
public sealed class CreateRequestDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the media type (<c>movie</c> or <c>tv</c>).
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string MediaType { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the TMDB identifier.
|
||||
/// </summary>
|
||||
[Range(1, int.MaxValue)]
|
||||
public int TmdbId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets optional season numbers for TV.
|
||||
/// Null or empty with <see cref="AllSeasons"/> true requests everything.
|
||||
/// </summary>
|
||||
public List<int>? Seasons { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether all seasons are requested.
|
||||
/// </summary>
|
||||
public bool AllSeasons { get; set; } = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Optional admin note body for status transitions.
|
||||
/// </summary>
|
||||
public sealed class AdminNoteDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets an optional administrator note.
|
||||
/// </summary>
|
||||
public string? AdminNote { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user