feat: self-update from Gitea and JSON-RPC id type fix (1.5.0)

- Scheduled task "eMCPy: Nach Updates suchen" (daily + startup) reads
  releases/latest.json, downloads only newer versions from the same host,
  verifies SHA256, assembly name and version, backs up the old DLL outside
  the plugins folder, swaps atomically and reports a pending restart.
  HTTPS (or HTTP to private IPs) only, no redirects, size limits, Gitea
  token sent only to the feed host and never stored or returned.
- Config page section for auto update; status in emby_plugins.
- scripts/make-release.sh builds releases/<v> and the update feed.
- JSON-RPC responses keep the request id's type (Emby's serializer turned
  numeric ids into strings).
- 1.5.0 package rebuilt (not yet installed anywhere).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Mikei386andClaude Opus 5.5 committed 2026-11-23 10:42:46 +01:00
1 parent 60e4a66952
commit 7c7d384933
16 files changed
+603 -8

No files matched your search

+1
View File
@@ -136,6 +136,7 @@ Check(typeof(SeriesInventory).Assembly.GetName().Version.ToString(3)=="1.5.0", "
AdvancedTests.Run();
ProtocolTests.Run();
AdminTests.Run();
UpdateTests.Run();
InventoryReplay.Run();
Console.WriteLine($"PASS: {passed} assertions; 35 episodes in 5 pages, no per-episode detail lookup.");