Skip to content

Commit 39e99cb

Browse files
fix: theme backup path handling (#896)
1 parent 342b833 commit 39e99cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Jellyfin.Plugin.Themerr/ThemerrManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ public async Task<bool> ReplaceWithThemerrTheme(Guid itemId)
484484
return false;
485485
}
486486

487-
var backupPath = Path.Combine(Path.GetDirectoryName(themePath)!, "theme.backup.mp3");
487+
var backupPath = Path.Combine(Path.GetDirectoryName(themePath), "theme.backup.mp3");
488488
var backupCreated = false;
489489
if (ThemerrPlugin.Instance?.Configuration.BackupUserSuppliedTheme == true && File.Exists(themePath))
490490
{

0 commit comments

Comments
 (0)