feat: open selected videos in new Terebi instances
This commit is contained in:
@@ -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.
|
- [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
|
- [ ] 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
|
```sh
|
||||||
terebi --new-instance
|
terebi --new-instance
|
||||||
terebi --new-instance "/path/to/video.mp4"
|
terebi --new-instance "/path/to/video.mp4"
|
||||||
|
|||||||
+3
-3
File diff suppressed because one or more lines are too long
+5
-1
@@ -460,7 +460,11 @@ impl PlayerLaunch {
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
let mut player = isolated_command(player)
|
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())
|
.stdin(Stdio::null())
|
||||||
.stdout(Stdio::null())
|
.stdout(Stdio::null())
|
||||||
.stderr(Stdio::piped())
|
.stderr(Stdio::piped())
|
||||||
|
|||||||
Reference in New Issue
Block a user