Files
Jellyfin_Request_tvandmovies/Jellyfin.Plugin.Request/Storage/MediaRequest.cs
T
Michael SloanandCursor bf6cd4540f 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>
2026-08-02 16:31:26 -04:00

76 lines
1.9 KiB
C#

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; }
}