fix(jellyfin): check cancellation before library query

Agent-Logs-Url: https://github.com/devitq/movienight-backend/sessions/7063bb08-680e-403b-b42d-355fd2ad03aa

Co-authored-by: devitq <118541411+devitq@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-20 18:53:19 +00:00
committed by GitHub
co-authored by devitq
parent 4c39020689
commit 07c9995c3c
@@ -48,6 +48,8 @@ public class MovieNightSyncService
{
_logger.LogInformation("Starting MovieNight library sync");
cancellationToken.ThrowIfCancellationRequested();
var items = _libraryManager.GetItemList(new InternalItemsQuery
{
IncludeItemTypes = new[] { BaseItemKind.Movie },