The Free Software Media System - Server Backend & API
Fixed naming scheme
JPVenson8e9b57aea95a
diff --git a/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs b/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.csindex 6955cf269f..b0e4567a78 100644--- a/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs+++ b/Jellyfin.Server.Implementations/Extensions/ServiceCollectionExtensions.cs@@ -1,7 +1,7 @@using System;using System.Collections.Generic;using System.Reflection;-using Jellyfin.Database.Providers.SqLite;+using Jellyfin.Database.Providers.Sqlite;using Jellyfin.Server.Implementations.DatabaseConfiguration;using MediaBrowser.Common.Configuration;using MediaBrowser.Controller.Configuration;diff --git a/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj b/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csprojindex b0ddfbc28c..6693ab8dbd 100644--- a/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj+++ b/Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj@@ -36,6 +36,7 @@<ProjectReference Include="..\MediaBrowser.Controller\MediaBrowser.Controller.csproj" /><ProjectReference Include="..\MediaBrowser.Model\MediaBrowser.Model.csproj" /><ProjectReference Include="..\src\Jellyfin.Database\Jellyfin.Database.Implementations\Jellyfin.Database.Implementations.csproj" />+ <ProjectReference Include="..\src\Jellyfin.Database\Jellyfin.Database.Providers.Sqlite\Jellyfin.Database.Providers.Sqlite.csproj" /></ItemGroup></Project>diff --git a/Jellyfin.sln b/Jellyfin.slnindex 5d672e7ab8..cdc8c8f651 100644--- a/Jellyfin.sln+++ b/Jellyfin.sln@@ -89,7 +89,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.LiveTv", "src\JellEndProjectProject("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Jellyfin.Database", "Jellyfin.Database", "{4C54CE05-69C8-48FA-8785-39F7F6DB1CAD}"EndProject-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.Database.Providers.SqLite", "src\Jellyfin.Database\Jellyfin.Database.Providers.SqLite\Jellyfin.Database.Providers.SqLite.csproj", "{A5590358-33CC-4B39-BDE7-DC62FEB03C76}"+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.Database.Providers.Sqlite", "src\Jellyfin.Database\Jellyfin.Database.Providers.Sqlite\Jellyfin.Database.Providers.Sqlite.csproj", "{A5590358-33CC-4B39-BDE7-DC62FEB03C76}"EndProjectProject("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Jellyfin.Database.Implementations", "src\Jellyfin.Database\Jellyfin.Database.Implementations\Jellyfin.Database.Implementations.csproj", "{8C9F9221-8415-496C-B1F5-E7756F03FA59}"EndProjectdiff --git a/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/DoNotUseReturningClauseConvention.cs b/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/DoNotUseReturningClauseConvention.csindex 1ce2420e43..18f336dda8 100644--- a/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/DoNotUseReturningClauseConvention.cs+++ b/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/DoNotUseReturningClauseConvention.cs@@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore;using Microsoft.EntityFrameworkCore.Metadata.Builders;using Microsoft.EntityFrameworkCore.Metadata.Conventions;-namespace Jellyfin.Database.Providers.SqLite;+namespace Jellyfin.Database.Providers.Sqlite;internal class DoNotUseReturningClauseConvention : IModelFinalizingConvention{diff --git a/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/SqliteDesignTimeJellyfinDbFactory.cs b/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/SqliteDesignTimeJellyfinDbFactory.csindex 11eeb8e02d..448bd2fc8b 100644--- a/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/SqliteDesignTimeJellyfinDbFactory.cs+++ b/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/SqliteDesignTimeJellyfinDbFactory.cs@@ -1,4 +1,4 @@-using Jellyfin.Database.Providers.SqLite;+using Jellyfin.Database.Providers.Sqlite;using Microsoft.EntityFrameworkCore;using Microsoft.EntityFrameworkCore.Design;using Microsoft.Extensions.Logging.Abstractions;diff --git a/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Properties/AssemblyInfo.cs b/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Properties/AssemblyInfo.csindex 8d6920f2e8..6c5c7107ea 100644--- a/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Properties/AssemblyInfo.cs+++ b/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Properties/AssemblyInfo.cs@@ -6,7 +6,7 @@ using System.Runtime.InteropServices;// General Information about an assembly is controlled through the following// set of attributes. Change these attribute values to modify the information// associated with an assembly.-[assembly: AssemblyTitle("Jellyfin.Database.Providers.SqLite")]+[assembly: AssemblyTitle("Jellyfin.Database.Providers.Sqlite")][assembly: AssemblyDescription("")][assembly: AssemblyConfiguration("")][assembly: AssemblyCompany("Jellyfin Project")]diff --git a/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/SqliteDatabaseProvider.cs b/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/SqliteDatabaseProvider.csindex 2364186b12..2aa3522d8a 100644--- a/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/SqliteDatabaseProvider.cs+++ b/src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/SqliteDatabaseProvider.cs@@ -8,7 +8,7 @@ using Microsoft.Data.Sqlite;using Microsoft.EntityFrameworkCore;using Microsoft.Extensions.Logging;-namespace Jellyfin.Database.Providers.SqLite;+namespace Jellyfin.Database.Providers.Sqlite;/// <summary>/// Configures jellyfin to use an SQLite database.diff --git a/src/Jellyfin.Database/readme.md b/src/Jellyfin.Database/readme.mdindex d50636b779..344ba2f4d1 100644--- a/src/Jellyfin.Database/readme.md+++ b/src/Jellyfin.Database/readme.md@@ -17,7 +17,7 @@ with sqlite currently being the only supported provider, you need to run the EntThe example is made from the root folder of the project e.g for codespaces `/workspaces/jellyfin````cmd-dotnet ef migrations add {MIGRATION_NAME} --project "src/Jellyfin.Database/Jellyfin.Database.Providers.SqLite" -- --migration-provider Jellyfin-SQLite+dotnet ef migrations add {MIGRATION_NAME} --project "src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite" -- --migration-provider Jellyfin-SQLite```If you get the error: `Run "dotnet tool restore" to make the "dotnet-ef" command available.` Run `dotnet restore`.