diff options
| author | JPVenson <github@jpb.email> | 2025-04-28 03:18:08 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-27 18:18:08 -0600 |
| commit | e66c76fc3405512b90735b5669278410f7974b1f (patch) | |
| tree | b7329723558336c991524ee1d768ecf2af93be58 /Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs | |
| parent | 1c4b5199b8fa42dd41d6d779db98650a460c7117 (diff) | |
Unified migration handling (#13950)
Diffstat (limited to 'Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs')
| -rw-r--r-- | Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs b/Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs index 52fb93d59..477363e0d 100644 --- a/Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs +++ b/Jellyfin.Server/Migrations/Routines/RemoveDownloadImagesInAdvance.cs @@ -8,7 +8,10 @@ namespace Jellyfin.Server.Migrations.Routines /// <summary> /// Removes the old 'RemoveDownloadImagesInAdvance' from library options. /// </summary> + [JellyfinMigration("2025-04-20T13:00:00", nameof(RemoveDownloadImagesInAdvance), "A81F75E0-8F43-416F-A5E8-516CCAB4D8CC")] +#pragma warning disable CS0618 // Type or member is obsolete internal class RemoveDownloadImagesInAdvance : IMigrationRoutine +#pragma warning restore CS0618 // Type or member is obsolete { private readonly ILogger<RemoveDownloadImagesInAdvance> _logger; private readonly ILibraryManager _libraryManager; @@ -20,15 +23,6 @@ namespace Jellyfin.Server.Migrations.Routines } /// <inheritdoc/> - public Guid Id => Guid.Parse("{A81F75E0-8F43-416F-A5E8-516CCAB4D8CC}"); - - /// <inheritdoc/> - public string Name => "RemoveDownloadImagesInAdvance"; - - /// <inheritdoc/> - public bool PerformOnNewInstall => false; - - /// <inheritdoc/> public void Perform() { var virtualFolders = _libraryManager.GetVirtualFolders(false); |
