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>
103 lines
3.1 KiB
Markdown
103 lines
3.1 KiB
Markdown
# Jellyfin Request Plugin
|
|
|
|
Local movie and TV request queue for Jellyfin. Users search TMDB from a **Request** tab, submit titles into a JSON-backed queue, and administrators approve, reject, or mark them fulfilled.
|
|
|
|
No Jellyseerr, Radarr, or Sonarr integration in v1 — this is an admin review queue only.
|
|
|
|
## Install from repository (recommended)
|
|
|
|
Jellyfin does not clone git repos for plugins. It reads a `manifest.json` URL and downloads the zip listed there (same pattern as SeerrFin).
|
|
|
|
1. In Jellyfin open **Dashboard → Plugins → Repositories → +**
|
|
2. Add:
|
|
- **Name:** `Request`
|
|
- **URL:**
|
|
|
|
```text
|
|
https://git.masengr.com/Michael-A-Sloan/Jellyfin_Request_tvandmovies/raw/branch/main/manifest.json
|
|
```
|
|
|
|
3. Open **Catalog**, find **Request**, install it, then restart Jellyfin.
|
|
4. Configure under **Dashboard → Plugins → Request** (TMDB API key + enable submissions).
|
|
|
|
## Requirements
|
|
|
|
- Jellyfin Server **10.11.x**
|
|
- .NET SDK **9+** to build from source
|
|
- A free [TMDB API key](https://www.themoviedb.org/settings/api)
|
|
|
|
## Build / package a release
|
|
|
|
```powershell
|
|
dotnet restore Jellyfin.Plugin.Request.sln
|
|
.\scripts\package-release.ps1
|
|
```
|
|
|
|
That rebuilds the DLL, writes `release/Jellyfin.Plugin.Request_10.11.0.zip`, and refreshes `manifest.json` (including the MD5 checksum Jellyfin verifies).
|
|
|
|
Commit and push `manifest.json` + `release/*.zip` so the raw Gitea URLs stay valid.
|
|
|
|
Manual DLL path (sideload only):
|
|
|
|
```text
|
|
Jellyfin.Plugin.Request\bin\Release\net9.0\Jellyfin.Plugin.Request.dll
|
|
```
|
|
|
|
## Request nav tab
|
|
|
|
On startup the plugin tries to inject:
|
|
|
|
```html
|
|
<script src="/Requests/Assets/nav-loader.js" defer></script>
|
|
```
|
|
|
|
into jellyfin-web `index.html`. That adds a **Request** item to the top library tabs and side menu.
|
|
|
|
Docker and some packaged installs make `index.html` read-only. If the tab does not appear, run the matching script with a writable path:
|
|
|
|
```bash
|
|
sudo bash scripts/install-web-loader.sh /usr/share/jellyfin/web/index.html
|
|
```
|
|
|
|
```powershell
|
|
.\scripts\install-web-loader.ps1 -IndexPath "C:\Program Files\Jellyfin\Server\jellyfin-web\index.html"
|
|
```
|
|
|
|
Jellyfin updates can replace `index.html`. Re-run the install script if the tab disappears.
|
|
|
|
Uninstall helpers:
|
|
|
|
- `scripts/uninstall-web-loader.sh`
|
|
- `scripts/uninstall-web-loader.ps1`
|
|
|
|
## API overview
|
|
|
|
Authenticated Jellyfin users call plugin endpoints under `/Requests`:
|
|
|
|
| Method | Path | Notes |
|
|
|--------|------|-------|
|
|
| GET | `/Requests/Status` | Non-secret status |
|
|
| GET | `/Requests/Page` | Request UI |
|
|
| GET | `/Requests/Search` | TMDB search |
|
|
| GET | `/Requests/Media/{type}/{tmdbId}` | Movie/TV detail |
|
|
| GET | `/Requests` | List (own requests; admins see all) |
|
|
| POST | `/Requests` | Create request |
|
|
| POST | `/Requests/{id}/approve` | Admin |
|
|
| POST | `/Requests/{id}/reject` | Admin |
|
|
| POST | `/Requests/{id}/fulfill` | Admin |
|
|
| DELETE | `/Requests/{id}` | Admin, or owner while Pending |
|
|
|
|
The TMDB API key stays on the server. Browsers never receive it.
|
|
|
|
## Data storage
|
|
|
|
Requests are stored at:
|
|
|
|
```text
|
|
{PluginConfigurationsPath}/Jellyfin.Plugin.Request/requests.json
|
|
```
|
|
|
|
## License
|
|
|
|
GPLv3 (same constraint as other Jellyfin plugins that link against Jellyfin packages).
|