fix: Use ItemId instead of Id for LinkedChild.

See #12892
This commit is contained in:
redxef 2024-11-18 20:50:25 +01:00
parent bfcf854d38
commit bf286d4ece
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -172,7 +172,7 @@ namespace Jellyfin.Plugin.SmartPlaylist.ScheduledTasks {
throw new ArgumentException("");
}
var existingItems = playlist_new.GetManageableItems().ToList();
await _playlistManager.RemoveItemFromPlaylistAsync(playlist.Id.ToString(), existingItems.Select(x => x.Item1.Id));
await _playlistManager.RemoveItemFromPlaylistAsync(playlist.Id.ToString(), existingItems.Select(x => x.Item1.ItemId.ToString()));
}
}
}