mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
Unified migration handling (#13950)
This commit is contained in:
@@ -19,6 +19,7 @@ namespace Jellyfin.Server.Migrations.Routines;
|
||||
/// <summary>
|
||||
/// Migration to move extracted files to the new directories.
|
||||
/// </summary>
|
||||
[JellyfinMigration("2025-04-21T00:00:00", nameof(MigrateKeyframeData), "EA4bCAE1-09A4-428E-9B90-4B4FD2EA1B24")]
|
||||
public class MigrateKeyframeData : IDatabaseMigrationRoutine
|
||||
{
|
||||
private readonly ILogger<MigrateKeyframeData> _logger;
|
||||
@@ -44,15 +45,6 @@ public class MigrateKeyframeData : IDatabaseMigrationRoutine
|
||||
|
||||
private string KeyframeCachePath => Path.Combine(_appPaths.DataPath, "keyframes");
|
||||
|
||||
/// <inheritdoc />
|
||||
public Guid Id => new("EA4bCAE1-09A4-428E-9B90-4B4FD2EA1B24");
|
||||
|
||||
/// <inheritdoc />
|
||||
public string Name => "MigrateKeyframeData";
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool PerformOnNewInstall => false;
|
||||
|
||||
/// <inheritdoc />
|
||||
public void Perform()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user