timeout playout builds after 2 minutes (#1269)

* add cancellation token support to playout builds and collection enumerators

* fix playout bug with shuffle in order

* update changelog
This commit is contained in:
Jason Dove
2023-05-08 11:53:02 -05:00
committed by GitHub
parent e215807e56
commit 2ccba9e476
31 changed files with 564 additions and 246 deletions
@@ -437,7 +437,7 @@ public class MediaCollectionRepository : IMediaCollectionRepository
PlaybackOrder.Chronological,
false));
return result;
return result.Filter(c => c.MediaItems.Any()).ToList();
}
private async Task<List<Movie>> GetMovieItems(TvContext dbContext, int collectionId)