feat: open streaming URLs without changing resolved handoffs
This commit is contained in:
@@ -191,7 +191,7 @@ private enum WindowDragCheck {
|
||||
model.showsQueue = true
|
||||
case 13:
|
||||
model.showsQueue = false
|
||||
model.openYouTube("not a video URL")
|
||||
model.openStream("not a video URL")
|
||||
case 15: model.open(fixtures.appendingPathComponent("audio.wav"))
|
||||
case 16: model.open(fixtures.appendingPathComponent("cache.mp4"))
|
||||
case 19: model.hideControls(hideCursor: false)
|
||||
@@ -787,7 +787,7 @@ private enum CLIInstanceCheck {
|
||||
if let action = command["action"] as? String {
|
||||
switch action {
|
||||
case "youtube":
|
||||
model.openYouTube(command["url"] as! String)
|
||||
model.openStream(command["url"] as! String)
|
||||
case "queue":
|
||||
model.showsQueue = command["visible"] as! Bool
|
||||
model.revealControls()
|
||||
|
||||
Reference in New Issue
Block a user