e1f7a4bee9
- Updated default database configuration to use PostgreSQL instead of SQLite when no database.xml exists. - Removed obsolete migration routines: MigrateUserDb, RemoveDuplicateExtras, ReseedFolderFlag. - Introduced new read-only view projections for PostgreSQL: ItemPersonView, ItemProviderView, LibrarySummaryView, MediaStreamInfoView, UserPlaybackHistoryView, VideoItemView. - Registered view mappings in PostgresDatabaseProvider to ensure proper handling of read-only views. - Cleaned up unused SQLite cache size configuration in ConfigurationExtensions. Co-authored-by: Copilot <copilot@github.com>
27 lines
974 B
C#
27 lines
974 B
C#
namespace Emby.Server.Implementations
|
|
{
|
|
using System.Collections.Generic;
|
|
using static MediaBrowser.Controller.Extensions.ConfigurationExtensions;
|
|
|
|
/// <summary>
|
|
/// Static class containing the default configuration options for the web server.
|
|
/// </summary>
|
|
public static class ConfigurationOptions
|
|
{
|
|
/// <summary>
|
|
/// Gets a new copy of the default configuration options.
|
|
/// </summary>
|
|
public static Dictionary<string, string?> DefaultConfiguration => new()
|
|
{
|
|
{ HostWebClientKey, bool.TrueString },
|
|
{ DefaultRedirectKey, "web/" },
|
|
{ FfmpegProbeSizeKey, "1G" },
|
|
{ FfmpegAnalyzeDurationKey, "200M" },
|
|
{ BindToUnixSocketKey, bool.FalseString },
|
|
{ FfmpegSkipValidationKey, bool.FalseString },
|
|
{ FfmpegImgExtractPerfTradeoffKey, bool.FalseString },
|
|
{ DetectNetworkChangeKey, bool.TrueString }
|
|
};
|
|
}
|
|
}
|