include other videos (ungrouped) in shuffle in order (#953)

* include other videos (ungrouped) in shuffle in order

* fix id conflict
This commit is contained in:
Jason Dove
2022-09-05 09:20:11 -05:00
committed by GitHub
parent df281758b7
commit 3cc1286271
2 changed files with 10 additions and 1 deletions
@@ -419,12 +419,20 @@ public class MediaCollectionRepository : IMediaCollectionRepository
result.Add(
new CollectionWithItems(
id,
id--,
items.OfType<Movie>().Cast<MediaItem>().ToList(),
true,
PlaybackOrder.Chronological,
false));
result.Add(
new CollectionWithItems(
id,
items.OfType<OtherVideo>().Cast<MediaItem>().ToList(),
true,
PlaybackOrder.Chronological,
false));
return result;
}