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:
@@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- Properly scale image-based subtitles
|
||||
- Fix bug where a schedule containing a single item (fixed start and flood) would never finish building a playout
|
||||
- Logic was also added to detect infinite playout build loops in the future and stop them
|
||||
- Fix bug where `Other Videos` wouldn't be included in scheduling mode `Shuffle In Order`
|
||||
|
||||
### Added
|
||||
- Add `Preferred Audio Title` feature
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user