feat: queue videos in running player

This commit is contained in:
2026-10-22 16:02:39 +02:00
parent b12bba9125
commit 585907f876
10 changed files with 193 additions and 73 deletions
+2 -2
View File
@@ -1417,13 +1417,13 @@ fn player_launch_rejects_invalid_and_duplicate_batch_identities_before_creating_
let mut invalid_video = video();
invalid_video.id = id.into();
assert!(matches!(
PlayerLaunch::start(&[video(), invalid_video], OsStr::new("terebi"), &mut state),
PlayerLaunch::start(&[video(), invalid_video], OsStr::new("terebi"), &mut state, false),
Err(error) if error.kind() == io::ErrorKind::InvalidInput
));
}
for videos in [vec![], vec![video(), video()]] {
assert!(matches!(
PlayerLaunch::start(&videos, OsStr::new("terebi"), &mut state),
PlayerLaunch::start(&videos, OsStr::new("terebi"), &mut state, false),
Err(error) if error.kind() == io::ErrorKind::InvalidInput
));
}