Add PostgreSQL provider and code cleanup

Added Jellyfin.Database.Providers.Postgres project and integrated Npgsql packages for PostgreSQL support. Updated solution and test project references. Refactored code for clarity and performance, including improved string handling, log formatting, and plugin management. Enhanced .editorconfig rules and fixed minor test issues. Added publishing profiles and updated web server setup references. Cleaned up assembly info and cache files.
Now able to successfully build solution
This commit is contained in:
2026-02-22 16:15:19 -05:00
parent d1e6fbc122
commit f8b7c62f9e
58 changed files with 2563 additions and 122 deletions
@@ -1949,6 +1949,40 @@
}
}
},
"Npgsql/10.0.0": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "10.0.0"
},
"compile": {
"lib/net10.0/Npgsql.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net10.0/Npgsql.dll": {
"related": ".xml"
}
}
},
"Npgsql.EntityFrameworkCore.PostgreSQL/11.0.0-preview.1": {
"type": "package",
"dependencies": {
"Microsoft.EntityFrameworkCore": "[11.0.0-preview.1.26104.118]",
"Microsoft.EntityFrameworkCore.Relational": "[11.0.0-preview.1.26104.118]",
"Npgsql": "10.0.0"
},
"compile": {
"lib/net11.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net11.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll": {
"related": ".xml"
}
}
},
"PlaylistsNET/1.4.1": {
"type": "package",
"compile": {
@@ -3033,6 +3067,7 @@
"Emby.Server.Implementations": "1.0.0",
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Database.Implementations": "10.11.0",
"Jellyfin.Database.Providers.Postgres": "1.0.0",
"Jellyfin.Drawing": "1.0.0",
"Jellyfin.Drawing.Skia": "1.0.0",
"Jellyfin.LiveTv": "1.0.0",
@@ -3166,6 +3201,24 @@
"bin/placeholder/Jellyfin.Database.Implementations.dll": {}
}
},
"Jellyfin.Database.Providers.Postgres/1.0.0": {
"type": "project",
"framework": ".NETCoreApp,Version=v11.0",
"dependencies": {
"Jellyfin.CodeAnalysis": "1.0.0",
"Jellyfin.Common": "10.12.0",
"Jellyfin.Database.Implementations": "10.11.0",
"Microsoft.EntityFrameworkCore": "11.0.0-preview.1.26104.118",
"Microsoft.EntityFrameworkCore.Relational": "11.0.0-preview.1.26104.118",
"Npgsql.EntityFrameworkCore.PostgreSQL": "11.0.0-preview.1"
},
"compile": {
"bin/placeholder/Jellyfin.Database.Providers.Postgres.dll": {}
},
"runtime": {
"bin/placeholder/Jellyfin.Database.Providers.Postgres.dll": {}
}
},
"Jellyfin.Database.Providers.Sqlite/1.0.0": {
"type": "project",
"framework": ".NETCoreApp,Version=v11.0",
@@ -6285,6 +6338,40 @@
"packageIcon.png"
]
},
"Npgsql/10.0.0": {
"sha512": "xZAYhPOU2rUIFpV48xsqhCx9vXs6Y+0jX2LCoSEfDFYMw9jtAOUk3iQsCnDLrFIv9NT3JGMihn7nnuZsPKqJmA==",
"type": "package",
"path": "npgsql/10.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"README.md",
"lib/net10.0/Npgsql.dll",
"lib/net10.0/Npgsql.xml",
"lib/net8.0/Npgsql.dll",
"lib/net8.0/Npgsql.xml",
"lib/net9.0/Npgsql.dll",
"lib/net9.0/Npgsql.xml",
"npgsql.10.0.0.nupkg.sha512",
"npgsql.nuspec",
"postgresql.png"
]
},
"Npgsql.EntityFrameworkCore.PostgreSQL/11.0.0-preview.1": {
"sha512": "zpg0hmbw7f3B0deg1vENgqfNWuas3lcR6c8D7VNwa7HxNLnnNcXp4ABf5ywUYjZzAJOToCy5UH0VV9rtnxWcKQ==",
"type": "package",
"path": "npgsql.entityframeworkcore.postgresql/11.0.0-preview.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"README.md",
"lib/net11.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll",
"lib/net11.0/Npgsql.EntityFrameworkCore.PostgreSQL.xml",
"npgsql.entityframeworkcore.postgresql.11.0.0-preview.1.nupkg.sha512",
"npgsql.entityframeworkcore.postgresql.nuspec",
"postgresql.png"
]
},
"PlaylistsNET/1.4.1": {
"sha512": "GmDShQkKK08YJD94rOoWebe3M2QRk6XZkMcPL80ZcRnFs255kifAJt7I9n6mmSlcQc/BRpgiY3jHDIOxIqA/cA==",
"type": "package",
@@ -7667,6 +7754,11 @@
"path": "../../src/Jellyfin.Database/Jellyfin.Database.Implementations/Jellyfin.Database.Implementations.csproj",
"msbuildProject": "../../src/Jellyfin.Database/Jellyfin.Database.Implementations/Jellyfin.Database.Implementations.csproj"
},
"Jellyfin.Database.Providers.Postgres/1.0.0": {
"type": "project",
"path": "../../src/Jellyfin.Database/Jellyfin.Database.Providers.Postgres/Jellyfin.Database.Providers.Postgres.csproj",
"msbuildProject": "../../src/Jellyfin.Database/Jellyfin.Database.Providers.Postgres/Jellyfin.Database.Providers.Postgres.csproj"
},
"Jellyfin.Database.Providers.Sqlite/1.0.0": {
"type": "project",
"path": "../../src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Jellyfin.Database.Providers.Sqlite.csproj",