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,75 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Jellyfin.Plugin.Request.Storage;
|
||||
|
||||
/// <summary>
|
||||
/// A user-submitted movie or TV request.
|
||||
/// </summary>
|
||||
public sealed class MediaRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the request identifier.
|
||||
/// </summary>
|
||||
public Guid Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the media type (<c>movie</c> or <c>tv</c>).
|
||||
/// </summary>
|
||||
public string MediaType { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the TMDB identifier.
|
||||
/// </summary>
|
||||
public int TmdbId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the display title.
|
||||
/// </summary>
|
||||
public string Title { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the release year when known.
|
||||
/// </summary>
|
||||
public int? Year { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the TMDB poster path.
|
||||
/// </summary>
|
||||
public string? PosterPath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets season numbers for TV, or null / empty for all seasons.
|
||||
/// </summary>
|
||||
public List<int>? Seasons { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether all seasons were requested.
|
||||
/// </summary>
|
||||
public bool AllSeasons { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the requesting user's identifier.
|
||||
/// </summary>
|
||||
public Guid RequestedByUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the requesting user's display name.
|
||||
/// </summary>
|
||||
public string RequestedByName { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the UTC creation timestamp.
|
||||
/// </summary>
|
||||
public DateTime CreatedAtUtc { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the request status.
|
||||
/// </summary>
|
||||
public RequestStatus Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets an optional administrator note.
|
||||
/// </summary>
|
||||
public string? AdminNote { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user