fix typos

This commit is contained in:
Kilian von Pflugk 2024-11-30 22:16:48 +01:00
parent 886908c636
commit bf258c1efb

View File

@ -127,7 +127,7 @@ internal static class LegacyMigrations
} }
catch (Exception) catch (Exception)
{ {
// If skip button is disabled and we can't access the file, just return silently // If skip button is disabled, and we can't access the file, just return silently
if (!plugin.Configuration.SkipButtonEnabled) if (!plugin.Configuration.SkipButtonEnabled)
{ {
logger.LogDebug("Skip button disabled and no permission to access index.html. Assuming its a fresh install."); logger.LogDebug("Skip button disabled and no permission to access index.html. Assuming its a fresh install.");
@ -235,7 +235,7 @@ internal static class LegacyMigrations
// only add if not already disabled // only add if not already disabled
if (!folder.LibraryOptions.DisabledMediaSegmentProviders.Contains(plugin.Name)) if (!folder.LibraryOptions.DisabledMediaSegmentProviders.Contains(plugin.Name))
{ {
// ppend in case there other disabled media segment providers // append in case there other disabled media segment providers
folder.LibraryOptions.DisabledMediaSegmentProviders = [.. folder.LibraryOptions.DisabledMediaSegmentProviders, plugin.Name]; folder.LibraryOptions.DisabledMediaSegmentProviders = [.. folder.LibraryOptions.DisabledMediaSegmentProviders, plugin.Name];
logger.LogInformation("Disable Media Segment Provider <{Name}> for Library <{Name}>", plugin.Name, folder.Name); logger.LogInformation("Disable Media Segment Provider <{Name}> for Library <{Name}>", plugin.Name, folder.Name);
} }
@ -258,7 +258,7 @@ internal static class LegacyMigrations
// only add if not already disabled // only add if not already disabled
if (!folder.LibraryOptions.DisabledMediaSegmentProviders.Contains(plugin.Name)) if (!folder.LibraryOptions.DisabledMediaSegmentProviders.Contains(plugin.Name))
{ {
// ppend in case there other disabled media segment providers // append in case there other disabled media segment providers
folder.LibraryOptions.DisabledMediaSegmentProviders = [.. folder.LibraryOptions.DisabledMediaSegmentProviders, plugin.Name]; folder.LibraryOptions.DisabledMediaSegmentProviders = [.. folder.LibraryOptions.DisabledMediaSegmentProviders, plugin.Name];
logger.LogInformation("Disable Media Segment Provider <{Name}> for Library <{Name}>", plugin.Name, folder.Name); logger.LogInformation("Disable Media Segment Provider <{Name}> for Library <{Name}>", plugin.Name, folder.Name);
} }