Replace full-page navigation with a native emby-tab-button and pageTabContent panel so Request behaves like Home and Favorites. Co-authored-by: Cursor <cursoragent@cursor.com>
99 lines
3.5 KiB
Markdown
99 lines
3.5 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. Also add Paradox’s repo (needed for the home **Request** tab on Docker/Unraid):
|
||
|
||
```text
|
||
https://www.iamparadox.dev/jellyfin/plugins/manifest.json
|
||
```
|
||
|
||
4. From **Catalog**, install **File Transformation**, then install **Request**, then restart Jellyfin.
|
||
5. Configure under **Dashboard → Plugins → Request** (TMDB API key + enable submissions).
|
||
6. Hard-refresh the browser (Ctrl+F5). You should see a **Request** tab next to Home/Favorites that shows the request UI under the same top bar (no full-page navigation).
|
||
|
||
## 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_<version>.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
|
||
|
||
The plugin injects `nav-loader.js` into jellyfin-web so a **Request** item appears in the top tabs and side menu.
|
||
|
||
**Preferred:** install [File Transformation](https://github.com/IAmParadox27/jellyfin-plugin-file-transformation). The Request plugin registers with it at startup and patches `index.html` in memory (survives Jellyfin updates; works when the web folder is read-only).
|
||
|
||
**Fallback:** if File Transformation is not installed, the plugin tries to write the script tag into `index.html` on disk. That often fails in Docker/Unraid. Manual scripts:
|
||
|
||
```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"
|
||
```
|
||
|
||
## 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).
|