/// <summary> /// Loads the selected stream through livestreamer/streamlink /// and displays a messagebox with the loading process details /// </summary> public async Task OpenStream() { if (Loading) { return; } await streamLauncher.OpenStream(StreamsModel.SelectedLivestream, StreamsModel.SelectedStreamQuality, this); }
public async Task OpenStream(TopStreamResult stream) { if (stream == null) { return; } await streamLauncher.OpenStream(stream.LivestreamModel, this); }