feat: add Chromecast playback support

This commit is contained in:
2026-10-13 17:31:37 +02:00
parent 74b4bfe6c1
commit bb777b0ecd
22 changed files with 3299 additions and 115 deletions
+2
View File
@@ -190,6 +190,8 @@ struct PlayerCommands: Commands {
.disabled(focusedModel == nil)
}
CommandMenu("Playback") {
CastDeviceMenu(model: model, icon: false)
Divider()
Button(model.effectivePlaying ? "Pause" : "Play") { model.performMenuAction(playback) }
.keyboardShortcut(model.keyBindings.shortcuts(for: playback).first?.keyboardShortcut)
.disabled(!hasFocusedScene || !model.canPerform(playback))