Go Live no longer requires YouTube connection; auth stays optional enhancement

This commit is contained in:
2026-08-04 10:39:17 -07:00
parent 4caf7eec8d
commit 3caccfff1f
+2 -2
View File
@@ -77,7 +77,7 @@ public class MainViewModel : ViewModelBase
} }
public bool ShowConnect => !IsYouTubeConnected; public bool ShowConnect => !IsYouTubeConnected;
public bool ShowGoLive => IsYouTubeConnected && IsOffline; public bool ShowGoLive => IsOffline;
// Commands // Commands
public ICommand AddSceneCommand { get; } public ICommand AddSceneCommand { get; }
@@ -97,7 +97,7 @@ public class MainViewModel : ViewModelBase
AddSceneCommand = new RelayCommand(_ => AddScene()); AddSceneCommand = new RelayCommand(_ => AddScene());
RemoveSceneCommand = new RelayCommand(scene => RemoveScene(scene as Scene)); RemoveSceneCommand = new RelayCommand(scene => RemoveScene(scene as Scene));
ConnectCommand = new RelayCommand(_ => ConnectYouTube()); ConnectCommand = new RelayCommand(_ => ConnectYouTube());
GoLiveCommand = new RelayCommand(_ => StartStream(), _ => IsYouTubeConnected && IsOffline); GoLiveCommand = new RelayCommand(_ => StartStream(), _ => IsOffline);
EndStreamCommand = new RelayCommand(_ => StopStream(), _ => IsLive); EndStreamCommand = new RelayCommand(_ => StopStream(), _ => IsLive);
// Start with a default scene // Start with a default scene