The Free Software Media System - Server Backend & API
clean up
crobibero472fd5217f25
diff --git a/Jellyfin.Api/Controllers/PlaylistsController.cs b/Jellyfin.Api/Controllers/PlaylistsController.csindex 9e2a91e102..2e3f6c54af 100644--- a/Jellyfin.Api/Controllers/PlaylistsController.cs+++ b/Jellyfin.Api/Controllers/PlaylistsController.cs@@ -1,7 +1,4 @@-#nullable enable-#pragma warning disable CA1801--using System;+using System;using System.Linq;using System.Threading.Tasks;using Jellyfin.Api.Extensions;@@ -124,7 +121,7 @@ namespace Jellyfin.Api.Controllers[ProducesResponseType(StatusCodes.Status204NoContent)]public ActionResult RemoveFromPlaylist([FromRoute] string playlistId, [FromQuery] string entryIds){- _playlistManager.RemoveFromPlaylist(playlistId, entryIds.Split(','));+ _playlistManager.RemoveFromPlaylist(playlistId, RequestHelpers.Split(entryIds, ',', true));return NoContent();}