The Free Software Media System - Server Backend & API
Fix batch requests
Shadowghostc4c3e9ea4d8f
diff --git a/src/Jellyfin.LiveTv/Listings/SchedulesDirect.cs b/src/Jellyfin.LiveTv/Listings/SchedulesDirect.csindex 083858ebaf..54e4d64eb8 100644--- a/src/Jellyfin.LiveTv/Listings/SchedulesDirect.cs+++ b/src/Jellyfin.LiveTv/Listings/SchedulesDirect.cs@@ -466,7 +466,7 @@ namespace Jellyfin.LiveTv.Listings{var batch = programIds.Skip(i).Take(BatchSize);- using var message = new HttpRequestMessage(HttpMethod.Post, ApiUrl + "/metadata/programs");+ using var message = new HttpRequestMessage(HttpMethod.Post, ApiUrl + "/metadata/programs/");message.Headers.TryAddWithoutValidation("token", token);message.Content = JsonContent.Create(batch, options: _jsonOptions);