Skip to content

The Free Software Media System - Server Backend & API

Add TODO notice

crobiberofafddfc45eed
diff --git a/Jellyfin.Api/Controllers/MediaInfoController.cs b/Jellyfin.Api/Controllers/MediaInfoController.cs
index cab1aa19cd..c03a69cb9c 100644
--- a/Jellyfin.Api/Controllers/MediaInfoController.cs
+++ b/Jellyfin.Api/Controllers/MediaInfoController.cs
@@ -137,6 +137,7 @@ namespace Jellyfin.Api.Controllers
}
// Copy params from posted body
+ // TODO clean up when breaking API compatibility.
userId ??= playbackInfoDto?.UserId;
maxStreamingBitrate ??= playbackInfoDto?.MaxStreamingBitrate;
startTimeTicks ??= playbackInfoDto?.StartTimeTicks;