The Free Software Media System - Server Backend & API
Backport pull request #15808 from jellyfin/release-10.11.z
theguymadmaxaa666565d1bb
diff --git a/Jellyfin.Api/Controllers/ItemUpdateController.cs b/Jellyfin.Api/Controllers/ItemUpdateController.csindex 28ea2033d8..605d2aeec2 100644--- a/Jellyfin.Api/Controllers/ItemUpdateController.cs+++ b/Jellyfin.Api/Controllers/ItemUpdateController.cs@@ -421,7 +421,7 @@ public class ItemUpdateController : BaseJellyfinApiController{if (item is IHasAlbumArtist hasAlbumArtists){- hasAlbumArtists.AlbumArtists = Array.ConvertAll(request.AlbumArtists, i => i.Name);+ hasAlbumArtists.AlbumArtists = Array.ConvertAll(request.AlbumArtists, i => i.Name.Trim());}}@@ -429,7 +429,7 @@ public class ItemUpdateController : BaseJellyfinApiController{if (item is IHasArtist hasArtists){- hasArtists.Artists = Array.ConvertAll(request.ArtistItems, i => i.Name);+ hasArtists.Artists = Array.ConvertAll(request.ArtistItems, i => i.Name.Trim());}}