From dd3aa707c587e801d0cb481d8c1765b05ad52e3b Mon Sep 17 00:00:00 2001 From: Scrub <72096833+ScrubN@users.noreply.github.com> Date: Fri, 19 Jul 2024 22:48:21 -0400 Subject: [PATCH] Fix crash when enqueuing a clip from a deleted streamer in URL mass downloader (#1157) --- TwitchDownloaderWPF/WindowUrlList.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TwitchDownloaderWPF/WindowUrlList.xaml.cs b/TwitchDownloaderWPF/WindowUrlList.xaml.cs index edc9f29d..08c5c168 100644 --- a/TwitchDownloaderWPF/WindowUrlList.xaml.cs +++ b/TwitchDownloaderWPF/WindowUrlList.xaml.cs @@ -136,7 +136,7 @@ private async void btnQueue_Click(object sender, RoutedEventArgs e) Id = id, Thumbnail = thumbnail, Title = clipInfo.title, - Streamer = clipInfo.broadcaster.displayName, + Streamer = clipInfo.broadcaster?.displayName ?? Translations.Strings.UnknownUser, Time = Settings.Default.UTCVideoTime ? clipInfo.createdAt : clipInfo.createdAt.ToLocalTime(), Views = clipInfo.viewCount, Game = clipInfo.game?.displayName ?? Translations.Strings.UnknownGame,