Repository navigation
Expand file tree
/
Copy pathmanifest.json
More file actions
85 lines (85 loc) · 19.5 KB
/
Copy pathmanifest.json
File metadata and controls
85 lines (85 loc) · 19.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[
{
"guid": "a2b5f3e8-4c1d-4f7a-9e6b-8d0c2f1a3b5e",
"name": "PostgreSQL Database Provider",
"description": "Production-ready PostgreSQL backend for Jellyfin. Bidirectional SQLite migration, near-instant search, health diagnostics, read-only SQL console and scheduled maintenance — no core modifications required.",
"overview": "Reemplaza SQLite por PostgreSQL como motor de base de datos de Jellyfin. Incluye migración bidireccional SQLite↔PostgreSQL, búsqueda casi instantánea con índices GIN, health check automático al arrancar, consola SQL de solo lectura, mantenimiento programado (VACUUM/REINDEX/Backup) y un host seguro de esquemas privados para otros plugins.",
"owner": ".:BORNIOS:.",
"category": "Database",
"imageUrl": "https://raw.githubusercontent.com/BORNIOS/Jellyfin-Database-Providers-Postgres/main/Jellyfin.Database.Providers.Postgres/Resources/logo.png",
"versions": [
{
"version": "1.0.0.0",
"changelog": "",
"targetAbi": "10.11.10.0",
"sourceUrl": "https://github.com/BORNIOS/Jellyfin-Database-Providers-Postgres/releases/download/v1.0.0.0/Jellyfin.Database.Providers.Postgres.zip",
"checksum": "cee53c9b4ff00cb348010b48abc1c739",
"timestamp": "2026-05-28T23:31:43Z"
},
{
"version": "2.0.0.0",
"changelog": "Novedades en v2.0.0.0:\n\n- Fix: timezone del servidor PostgreSQL restaurada. El switch global Npgsql fue reemplazado por DateTimeKindNormalizingInterceptor que solo normaliza escrituras con Kind=Unspecified.\n- Fix: crash por duplicate PK en BaseItemProviders (23505) prevenido con UpsertConflictInterceptor.\n- Nuevo: Health Check automatico al arrancar (10s) con diagnostico de conexion, indices invalidos, bloat, secuencias y queries lentas.\n- Nuevo: integracion opcional con JellyTrend — recomendaciones 4-10x mas rapidas con SQL nativo y operador ; de arrays + indices GIN.\n- Nuevo: DbErrorLoggingInterceptor registra todos los errores de BD en el log del plugin.\n- Nuevo: workflow de release basado en JellyTrend, ZIP con los 3 DLLs necesarios.\n- Docs: README ES/EN reescritos para v2.0 con capturas de las 4 pestanas del plugin.",
"targetAbi": "10.11.0.0",
"sourceUrl": "https://github.com/BORNIOS/Jellyfin-Database-Providers-Postgres/releases/download/v2.0.0.0/Jellyfin.Database.Providers.Postgres-2.0.0.0.zip",
"checksum": "f39697fa46c8f706a0eda85f69263684",
"timestamp": "2026-08-29T05:45:47Z"
},
{
"version": "2.0.1.0",
"changelog": "2.0.1 - Fix critico de exportacion PostgreSQL -> SQLite:\n\n- Fix: las columnas de la clave primaria se copian sin normalizar, asi que los pares de filas que solo difieren en mayusculas/minusculas ya no colapsan en la misma clave y el export deja de abortar.\n- Fix: cuando hay una violacion de constraint, el log indica tabla, numero de fila y valores de la clave en lugar del error criptico de SQLite.\n- CI: la entrada del catalogo se publica tambien en main para que Jellyfin 10.11.x pueda ver esta version.\n\nRequiere Jellyfin 10.11.x. Para Jellyfin 12.1 usa la version 3.0.0.",
"targetAbi": "10.11.0.0",
"sourceUrl": "https://github.com/BORNIOS/Jellyfin-Database-Providers-Postgres/releases/download/v2.0.1/Jellyfin.Database.Providers.Postgres-2.0.1.0.zip",
"checksum": "0d2f4217825e2e1b9edbe1d992855a2f",
"timestamp": "2026-09-16T18:19:47Z"
},
{
"version": "3.0.0.0",
"changelog": "3.0.0 - Jellyfin 12.1\n\nAdaptacion completa al contrato de proveedores de Jellyfin 12.1. Requiere .NET 10.\n\nNovedades\n- Consola SQL de solo lectura en el panel: 10 plantillas de diagnostico, historial en la sesion y rechazo de sentencias que modifiquen datos.\n- Opciones avanzadas funcionales: tamano de pool, sentencias preparadas y tiempo de espera se validan, se guardan, se reflejan en el estado actual y se aplican al proveedor.\n- Adaptacion al contrato y al runtime de 12.1: resolucion del ensamblado SQLite del servidor, compatibilidad por base de datos y motor de migracion reescrito.\n\nCorrecciones\n- PurgeDatabase implementado: en 2.x lanzaba NotImplementedException y rompia la restauracion del respaldo completo del sistema.\n- Exportacion a SQLite mas robusta: claves primarias verbatim, diagnostico de constraint, limpieza de filas huerfanas y library.db minimo valido para el arranque.\n\nVerificacion\n- Suite xUnit con 74 pruebas, incluidas integraciones reales con PostgreSQL 17.\n- Auditor de esquema contra el modelo EF del servidor.\n\nDocumentacion\n- Manual de migracion de Jellyfin 10.11.x a 12.x, novedades frente a 2.0.1 y nota tecnica de la adaptacion, en espanol e ingles.\n\nCompatibilidad\n- Jellyfin 12.1.x - PostgreSQL 16+ - .NET 10.\n- Para Jellyfin 10.11.x usa la version 2.0.1.",
"targetAbi": "12.1.0.0",
"sourceUrl": "https://github.com/BORNIOS/Jellyfin-Database-Providers-Postgres/releases/download/v3.0.0/Jellyfin.Database.Providers.Postgres-3.0.0.0.zip",
"checksum": "f76557050bc28da09797f6a1202e4f7d",
"timestamp": "2026-09-16T18:31:54Z"
},
{
"version": "3.0.1.0",
"changelog": "3.0.1 - Correccion de la integracion con JellyTrend\r\n\r\n- Fix: el esquema jellytrend no creaba la tabla donde el motor de JellyTrend guarda el perfil de gustos aprendido (user_affinity), asi que ese perfil no quedaba almacenado. El esquema se crea ahora completo (version 4).\r\n- El esquema se comprueba al arrancar: en una instalacion 3.0.0 la tabla que faltaba se crea sola. No hay que recrear el esquema ni reinstalar nada.\r\n- Docs: la seccion de integracion con JellyTrend documenta las dos piezas del contrato: almacen de datos en el esquema jellytrend (fuera de public, para no colarse en las exportaciones a SQLite) y acelerador de consultas con SQL nativo en las recomendaciones (4-10x en bibliotecas grandes).\r\n\r\nRequiere Jellyfin 12.1.x. Para Jellyfin 10.11.x usa la version 2.0.1.",
"targetAbi": "12.1.0.0",
"sourceUrl": "https://github.com/BORNIOS/Jellyfin-Database-Providers-Postgres/releases/download/v3.0.1/Jellyfin.Database.Providers.Postgres-3.0.1.0.zip",
"checksum": "284c1a553f70b956137f1d3a99b0b8f1",
"timestamp": "2026-09-19T01:32:14Z"
},
{
"version": "3.0.2.0",
"changelog": "## Español\n\n### 3.0.2 — Estabilidad, integridad y exportación segura\n\n- Corrige la normalización de `DateTime`, `DateTimeOffset` y arreglos antes de escribir en PostgreSQL, evitando errores de Npgsql por `Kind` incompatible.\n- Las escrituras concurrentes de `UserData` y las actualizaciones completas de elementos usan upserts atómicos para reducir conflictos durante actualizaciones bajo demanda.\n- La activación de PostgreSQL valida la conexión antes de modificar `database.xml`.\n- Se elimina la restauración automática de backups y la restauración manual no reemplaza objetos existentes por defecto.\n- Las consultas concurrentes idénticas de inicio se consolidan mientras se llena la caché.\n- La exportación PostgreSQL → SQLite crea y valida un `library.db` SQLite real; evita el archivo inválido que impedía iniciar Jellyfin.\n- La exportación ya no copia ni marca a ciegas el historial de migraciones.\n\nVerificado con Build Release, pruebas unitarias e integración real contra PostgreSQL. Requiere Jellyfin 12.1.x, PostgreSQL 16+ y .NET 10.\n\n---\n\n## English\n\n### 3.0.2 — Stability, integrity and safe export\n\n- Fixes normalization of `DateTime`, `DateTimeOffset`, and arrays before PostgreSQL writes, avoiding Npgsql errors caused by incompatible `Kind` values.\n- Concurrent `UserData` writes and full item updates use atomic upserts to reduce conflicts during on-demand updates.\n- PostgreSQL activation validates the connection before changing `database.xml`.\n- Automatic backup restore was removed, and manual restore no longer replaces existing objects by default.\n- Identical concurrent home-screen queries are coalesced while the cache is populated.\n- PostgreSQL → SQLite export creates and validates a real SQLite `library.db`, preventing the invalid file that stopped Jellyfin from starting.\n- Export no longer blindly marks or copies migration history.\n\nVerified with a Release build, unit tests, and real PostgreSQL integration tests. Requires Jellyfin 12.1.x, PostgreSQL 16+, and .NET 10.",
"targetAbi": "12.1.0.0",
"sourceUrl": "https://github.com/BORNIOS/Jellyfin-Database-Providers-Postgres/releases/download/v3.0.2/Jellyfin.Database.Providers.Postgres-3.0.2.0.zip",
"checksum": "978401ceebfeed183170a3947226a43c",
"timestamp": "2026-09-26T11:30:42Z"
},
{
"version": "3.0.3.0",
"changelog": "## Español\n\n### 3.0.3 — Integraciones privadas, mantenimiento y estabilidad\n\n- Nuevo host seguro para esquemas privados de plugins: registro, migraciones aisladas y acceso sin exponer credenciales ni el esquema `public` de Jellyfin.\n- Nueva pestaña **Integraciones** para revisar esquemas registrados, consultar una muestra limitada de datos, ver métricas por tabla y administrar `ANALYZE`, `VACUUM (ANALYZE)` y `REINDEX` por esquema.\n- Las tareas programadas mantienen `public` y solo los esquemas privados autorizados por el administrador.\n- Health incorpora métricas de presión de buffers, bloques leídos, uso temporal y WAL para diagnosticar consultas lentas.\n- Estado actual detecta el motor activo sin esperar la validación SQLite; esta continúa en segundo plano y se vuelve a comprobar antes de revertir.\n- Se refuerza el aislamiento de identificadores en operaciones de exploración y mantenimiento de esquemas privados.\n- Documentación actualizada en español e inglés, incluida la integración para desarrolladores, exportación SQLite segura y orientación para Docker.\n\nRequiere Jellyfin 12.1.x, PostgreSQL 16 o posterior y .NET 10.\n\n---\n\n## English\n\n### 3.0.3 — Private integrations, maintenance, and stability\n\n- New secure host for private plugin schemas: registration, isolated migrations, and storage without exposing credentials or Jellyfin's `public` schema.\n- New **Integrations** tab to review registered schemas, inspect a bounded data sample, view per-table metrics, and manage `ANALYZE`, `VACUUM (ANALYZE)`, and `REINDEX` per schema.\n- Scheduled tasks maintain `public` and only private schemas explicitly enabled by an administrator.\n- Health adds buffer-pressure, blocks-read, temporary-I/O, and WAL metrics for slow-query diagnosis.\n- Current status detects the active engine without waiting for SQLite validation; validation continues in the background and is checked again before rollback.\n- Strengthens identifier isolation in private-schema exploration and maintenance operations.\n- Updated Spanish and English documentation, including developer integration, safe SQLite export, and Docker guidance.\n\nRequires Jellyfin 12.1.x, PostgreSQL 16 or newer, and .NET 10.",
"targetAbi": "12.1.0.0",
"sourceUrl": "https://github.com/BORNIOS/Jellyfin-Database-Providers-Postgres/releases/download/v3.0.3/Jellyfin.Database.Providers.Postgres-3.0.3.0.zip",
"checksum": "36870e4156d00bc0ae86f11a7ad7a4f9",
"timestamp": "2026-09-30T22:36:31Z"
},
{
"version": "3.0.4.0",
"changelog": "## Español\n\n### 3.0.4 — Fechas, búsqueda, guardado y migración\n\n- Corrige el cierre de Jellyfin Android TV al abrir bibliotecas: el caché de consultas descartaba `DateTimeKind.Utc` al bufferizar y el cliente recibía fechas sin zona horaria, que sustituía por su valor mínimo y hacían fallar la conversión. Las columnas de fecha se bufferizan como UTC y el lector restaura el `Kind` como segunda barrera.\n- Nueva migración que normaliza fechas no finitas o mínimas ya guardadas en `BaseItems`, y normalización de los centinelas `DateTime` y `DateTimeOffset` antes de escribir.\n- La búsqueda deja de distinguir mayúsculas y minúsculas e incluye título visible, título original y título para ordenar, con índice trigram sobre `SortName`.\n- Corrige el error 500 al abrir la ficha de un artista o persona: las filas duplicadas se resuelven con una actualización sin cambios sobre la clave primaria en lugar de `ON CONFLICT DO NOTHING`, que informaba 0 filas y EF Core trataba como conflicto de concurrencia.\n- Corrige la migración SQLite → PostgreSQL: se conserva el historial de rutinas de código ya aplicadas, identificadas por el nombre de la migración. Sin él, Jellyfin volvía a ejecutar rutinas que esperan `library.db` y el arranque fallaba con `no such table: TypedBaseItems` (#9).\n- El proveedor fija `QuerySplittingBehavior` en `SingleQuery`, igual que el proveedor SQLite, y deja de llenar el log con `MultipleCollectionIncludeWarning`.\n\nRequiere Jellyfin 12.1.x, PostgreSQL 16 o posterior y .NET 10.\n\n---\n\n## English\n\n### 3.0.4 — Dates, search, saving, and migration\n\n- Fixes Jellyfin Android TV crashing when a library is opened: the query cache dropped `DateTimeKind.Utc` while buffering, so the client received dates without a time zone, replaced them with its minimum value, and failed converting it. Date columns are buffered as UTC and the reader restores the `Kind` as a second safeguard.\n- New migration that normalizes non-finite or minimum dates already stored in `BaseItems`, plus normalization of `DateTime` and `DateTimeOffset` sentinels before writing.\n- Search is no longer case-sensitive and now covers display, original, and sort titles, with a trigram index on `SortName`.\n- Fixes the 500 returned when opening an artist or person page: duplicate rows are resolved with a no-op update on the primary key instead of `ON CONFLICT DO NOTHING`, which reported zero affected rows and EF Core treated as a concurrency conflict.\n- Fixes the SQLite → PostgreSQL migration: the history of code migrations already applied is preserved, matched by migration name. Without it, Jellyfin re-ran routines that expect `library.db` and startup failed with `no such table: TypedBaseItems` (#9).\n- The provider pins `QuerySplittingBehavior` to `SingleQuery`, matching Jellyfin's SQLite provider, and stops flooding the log with `MultipleCollectionIncludeWarning`.\n\nRequires Jellyfin 12.1.x, PostgreSQL 16 or newer, and .NET 10.\r\n",
"targetAbi": "12.1.0.0",
"sourceUrl": "https://github.com/BORNIOS/Jellyfin-Database-Providers-Postgres/releases/download/v3.0.4/Jellyfin.Database.Providers.Postgres-3.0.4.0.zip",
"checksum": "98ac8be5e61b8f9516c743fc2133691a",
"timestamp": "2026-10-17T23:11:03Z"
},
{
"version": "3.1.0.0",
"changelog": "## Español\n\n### 3.1.0 — Retención de respaldos, endurecimiento y nueva interfaz\n\n**Novedades**\n- Retención de respaldos: define cuántos días se conserva cada backup (0 = sin límite, valor por defecto) y cuántos de los más recientes se conservan siempre (5 por defecto). Solo se borran archivos con el nombre que genera el plugin; cualquier otro archivo de la carpeta no se toca. Se aplica tras cada backup, con la nueva tarea programada «PostgreSQL Backup Retention» (diaria, 03:00) y con el botón «Depurar respaldos ahora», que muestra una vista previa y pide confirmación. Funciona igual en Windows, Linux y macOS.\n- Interfaz renovada con el mismo diseño que JellyTV: pantalla completa y responsive, selects y checkboxes propios, título con descripción y pestaña Mantenimiento reordenada (operaciones, respaldos con retención, tareas programadas). Los resultados y avisos salen como notificaciones abajo a la derecha: las operaciones en curso muestran un indicador y los éxitos desaparecen solos. VACUUM, respaldos, optimizaciones, reparación y migración piden confirmación con el mismo modal, que ya no se cierra al pulsar fuera. «Actualizar estadísticas» pasa a Health.\n- Aviso en el log, en el estado y en la interfaz cuando hay copias obsoletas del plugin junto a la que está en ejecución (por ejemplo una carpeta antigua marcada como eliminada), que Jellyfin puede seguir cargando.\n\n**Seguridad y fiabilidad**\n- **Cambio de comportamiento:** `Search/Instant` ahora exige un usuario autenticado. Antes era anónimo y permitía listar `BaseItems` sin sesión.\n- La consola SQL se ejecuta en una transacción de solo lectura con límites de tiempo y rechaza las comillas de dólar, que permitían ocultar una segunda sentencia.\n- La caché de consultas invalida también las escrituras de `SaveChanges` y al confirmar transacciones; antes podía servir datos antiguos hasta 30 s.\n- Guardar la configuración valida la conexión cuando PostgreSQL está activo, rechaza cadenas vacías, escribe `database.xml` de forma atómica (con copia `.bak`) y la API ya no devuelve la contraseña en claro.\n- Los agregados `min/max(uuid)` se dan por creados solo tras un intento exitoso; `pg_dump` y `psql` se terminan al cancelar y un volcado fallido ya no deja un `.sql` parcial.\n- Las fechas se convierten a UTC al leer y escribir, y la variable `JELLYFIN_PG_DISABLE_QUERY_CACHE=1` permite descartar la caché al diagnosticar.\n\nRequiere Jellyfin 12.1.x, PostgreSQL 16 o posterior y .NET 10.\n\n---\n\n## English\n\n### 3.1.0 — Backup retention, hardening, and a new interface\n\n**What's new**\n- Backup retention: choose how many days each backup is kept (0 = keep forever, the default) and how many of the newest backups are always kept (5 by default). Only files named the way the plugin names them are deleted; any other file in the folder is left alone. It runs after every backup, through the new «PostgreSQL Backup Retention» scheduled task (daily, 03:00), and with the «Prune backups now» button, which shows a preview and asks for confirmation. It behaves the same on Windows, Linux, and macOS.\n- Redesigned interface matching JellyTV: full-width and responsive, custom selects and checkboxes, a page title with description, and a reordered Maintenance tab (operations, backups with retention, scheduled tasks). Results and alerts appear as notifications at the bottom right: running operations show an indicator and successes dismiss themselves. VACUUM, backups, optimizations, repair, and migration ask for confirmation with the same modal, which no longer closes when you click outside. «Refresh statistics» moves to Health.\n- A warning in the log, the status endpoint, and the interface when stale copies of the plugin sit next to the running one (for example an old folder marked as deleted) that Jellyfin may still load.\n\n**Security and reliability**\n- **Behavior change:** `Search/Instant` now requires a signed-in user. It used to be anonymous and could list `BaseItems` without a session.\n- The SQL console runs in a read-only transaction with time limits and rejects dollar quoting, which could hide a second statement.\n- The query cache also invalidates `SaveChanges` writes and transaction commits; it could previously serve stale data for up to 30 s.\n- Saving the configuration validates the connection when PostgreSQL is active, rejects empty strings, writes `database.xml` atomically (with a `.bak` copy), and the API no longer returns the password in clear text.\n- The `min/max(uuid)` aggregates are marked as created only after a successful attempt; `pg_dump` and `psql` are terminated on cancel and a failed dump no longer leaves a partial `.sql`.\n- Dates are converted to UTC on read and write, and `JELLYFIN_PG_DISABLE_QUERY_CACHE=1` lets you rule out the cache when diagnosing.\n\nRequires Jellyfin 12.1.x, PostgreSQL 16 or newer, and .NET 10.",
"targetAbi": "12.1.0.0",
"sourceUrl": "https://github.com/BORNIOS/Jellyfin-Database-Providers-Postgres/releases/download/v3.1.0/Jellyfin.Database.Providers.Postgres-3.1.0.0.zip",
"checksum": "009aff4db00de41671279e524e34611c",
"timestamp": "2026-10-19T03:42:16Z"
}
]
}
]