feat: open streaming URLs without changing resolved handoffs

This commit is contained in:
2026-10-19 19:32:26 +02:00
parent d068c52e04
commit 9f1dca3081
17 changed files with 553 additions and 103 deletions
+2 -2
View File
@@ -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()