From 15b341dbed4d958ead51c5e715d6d89af7e1c55f Mon Sep 17 00:00:00 2001 From: lay295 Date: Mon, 22 Jun 2020 01:18:02 -0400 Subject: [PATCH] Some fixes --- TwitchDownloaderWPF/ChatRoot.cs | 7 +++ TwitchDownloaderWPF/MainWindow.xaml | 4 +- TwitchDownloaderWPF/MainWindow.xaml.cs | 5 ++ TwitchDownloaderWPF/PageChatDownload.xaml | 2 + TwitchDownloaderWPF/PageChatDownload.xaml.cs | 6 ++- TwitchDownloaderWPF/PageChatRender.xaml.cs | 31 +++++++++++-- TwitchDownloaderWPF/PageQueue.xaml | 16 +++++++ TwitchDownloaderWPF/PageVodDownload.xaml | 2 +- TwitchDownloaderWPF/PageVodDownload.xaml.cs | 34 +++++++++++++- TwitchDownloaderWPF/RenderObjects.cs | 9 ++++ TwitchDownloaderWPF/Tasks/ITwitchTask.cs | 8 ++-- TwitchDownloaderWPF/Tasks/TaskVodDownload.cs | 49 +++++++++++--------- 12 files changed, 138 insertions(+), 35 deletions(-) diff --git a/TwitchDownloaderWPF/ChatRoot.cs b/TwitchDownloaderWPF/ChatRoot.cs index 81405b1d..87726040 100644 --- a/TwitchDownloaderWPF/ChatRoot.cs +++ b/TwitchDownloaderWPF/ChatRoot.cs @@ -79,8 +79,15 @@ public class Comment public bool more_replies { get; set; } } +public class VideoTime +{ + public double start { get; set; } + public double end { get; set; } +} + public class ChatRoot { public Streamer streamer { get; set; } public List comments { get; set; } + public VideoTime video { get; set; } } \ No newline at end of file diff --git a/TwitchDownloaderWPF/MainWindow.xaml b/TwitchDownloaderWPF/MainWindow.xaml index 4a0b2475..e8bfd963 100644 --- a/TwitchDownloaderWPF/MainWindow.xaml +++ b/TwitchDownloaderWPF/MainWindow.xaml @@ -17,15 +17,15 @@ + -