fix(nav): inject request tab via file transformation

Register with IAmParadox File Transformation so the Request tab works when jellyfin-web is read-only (Docker/Unraid). Keep disk patch as fallback. Publish 1.0.0.2.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Michael SloanandCursor committed 2026-08-02 16:41:47 -04:00
1 parent 4531603d08
commit 57798d30e8
11 files changed
+175 -56

No files matched your search

+21 -6
View File
@@ -1,5 +1,5 @@
param(
[string]$Version = "1.0.0.1",
[string]$Version = "1.0.0.2",
[string]$TargetAbi = "10.11.11.0",
[string]$RepoRawBase = "https://git.masengr.com/Michael-A-Sloan/Jellyfin_Request_tvandmovies/raw/branch/main"
)
@@ -10,14 +10,14 @@ Set-Location $root
$guid = "11c08950-c4bb-484d-89ff-205b3724416b"
$pluginName = "Request"
$zipFileName = "Jellyfin.Plugin.Request_10.11.11.zip"
$zipFileName = "Jellyfin.Plugin.Request_$Version.zip"
$releaseDir = Join-Path $root "release"
$stageDir = Join-Path $releaseDir "stage"
$dllPath = Join-Path $root "Jellyfin.Plugin.Request\bin\Release\net9.0\Jellyfin.Plugin.Request.dll"
$zipPath = Join-Path $releaseDir $zipFileName
$manifestPath = Join-Path $root "manifest.json"
$timestamp = (Get-Date).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss.fffffffZ")
$changelog = "Built against Jellyfin 10.11.11 (targetAbi 10.11.11.0)"
$changelog = "Inject Request tab via File Transformation (Docker/Unraid safe); keep disk patch fallback"
Write-Host "Building plugin..."
dotnet build (Join-Path $root "Jellyfin.Plugin.Request.sln") -c Release
@@ -54,10 +54,25 @@ Compress-Archive -Path (Join-Path $stageDir "*") -DestinationPath $tempZip -Forc
Remove-Item $stageDir -Recurse -Force
if (Test-Path $zipPath) {
Remove-Item $zipPath -Force -ErrorAction SilentlyContinue
Start-Sleep -Milliseconds 200
for ($i = 0; $i -lt 5; $i++) {
try {
Remove-Item $zipPath -Force -ErrorAction Stop
break
}
catch {
Start-Sleep -Milliseconds 300
}
}
}
if (Test-Path $zipPath) {
# Last resort: write under a new name and replace via copy bytes.
[System.IO.File]::Copy($tempZip, $zipPath, $true)
Remove-Item $tempZip -Force
}
else {
Move-Item -Path $tempZip -Destination $zipPath -Force
}
Move-Item -Path $tempZip -Destination $zipPath -Force
$checksum = (Get-FileHash -Path $zipPath -Algorithm MD5).Hash.ToUpperInvariant()
$sourceUrl = "$RepoRawBase/release/$zipFileName"