feat: open selected videos in new Terebi instances

This commit is contained in:
2026-10-11 14:31:18 +02:00
parent 8ee9aa8d6c
commit 7b7b65ca3f
3 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
- [x] bulk category editing: when on a certain category view, add bulk category editing, such that all channels saved to that category are updated with the new categories set.
- [ ] ui improvement: display the pinned status on category tab titles for pinned categories
- [ ] start the terebi player as a new instance explicitly:
- [x] start the terebi player as a new instance explicitly:
```sh
terebi --new-instance
terebi --new-instance "/path/to/video.mp4"
+3 -3
View File
File diff suppressed because one or more lines are too long
+5 -1
View File
@@ -460,7 +460,11 @@ impl PlayerLaunch {
));
}
let mut player = isolated_command(player)
.args(["--url", &format!("https://www.youtube.com/watch?v={id}")])
.args([
"--new-instance",
"--url",
&format!("https://www.youtube.com/watch?v={id}"),
])
.stdin(Stdio::null())
.stdout(Stdio::null())
.stderr(Stdio::piped())