Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional information to chat jsons #440

Merged
merged 13 commits into from Dec 11, 2022
Merged

Conversation

ScrubN
Copy link
Collaborator

@ScrubN ScrubN commented Nov 20, 2022

  • Move GQL classes to TwitchObjects.Gql
  • Put ChatRoot class in namespace TwitchObjects
  • Rename ChatRoot.VideoTime to ChatRoot.Video
  • Add title, id, created_at, and length fields to ChatRoot.Video
  • Add ChatRootInfo class
  • Add ChatRootVersion class for keeping track of compatibility

I also created some unit tests to ensure sure the ChatRootVersion operators worked correctly. If you would like for these to be added this PR, I can do that. It could be nice to have some unit tests for several parts of Core

@ScrubN ScrubN changed the title Add video/clip ID to json Add additional video/clip information to json Nov 21, 2022
@ScrubN ScrubN closed this Nov 21, 2022
@ScrubN ScrubN reopened this Nov 21, 2022
ScrubN added a commit to ScrubN/TwitchDownloader that referenced this pull request Nov 21, 2022
@ScrubN ScrubN changed the title Add additional video/clip information to json Add additional information to chat jsons Nov 23, 2022
@ScrubN ScrubN closed this Nov 27, 2022
@ScrubN ScrubN reopened this Nov 27, 2022
@lay295 lay295 merged commit 84bd684 into lay295:master Dec 11, 2022
@ScrubN ScrubN deleted the chatdownload-id branch December 11, 2022 21:01
lay295 pushed a commit that referenced this pull request Dec 11, 2022
* Move chatupdate functions to Core, prepare for additional update options, shorten chatupdate file/class names

* Make chatdownload obey custom temp folder

* Fixed all embeds being doubled with arg --embed-missing, fixed crash when embeddedData is null, made embed fetching async

* Continue before processing the new embedded item

* Implement chat crop moving

* Rename an arg, add input = output warning, typo

* Update readme

* Prepare for fetching missing comments (needs #440), cleanup

* Update readme

* Make ChatUpdater task based

* Add missing comment fetching, make default true bools nullable, add more progress reporters

* Move chat crop above embed fetching due to dependency, cleanup

* Fix comment appending not being fully thread-safe, add comment count report, ensure temp file is deleted, cleanup

* Update readmes

* Typo

* Clarify ReportType enum, fix chatupdate progress reports, clamp chat crops, cleanup

* Fix first party emotes not proprely checking for already added embedded emotes, fix emoji count check for Linux

* Rename 'DownloadFormat' to 'ChatFormat', add exception for catching unsupported chatupdate formats

* Fix future chat crop error when using non-json formats

* Simplify switch expressions with pattern matching

* Add GUI frontend for ChatUpdate, more UI consistency, cleanup

* Fix clip chat updating, add enqueuing support

* Add chat update to default settings

* Didn't mean to stage that

* Add output format conversion (input must still be json), cleanup

* Add step counter to progress chatupdate reports

* Add percent and universal constructor to ProgressReport class, add percent reports to chatupdate

* Use async methods with text chat writer, combine ParseChatJson and ParseChatJsonInfo, cleanup

* Update 'what can it do' section in readme

* Cleanup PreParseArgs, fix #448

* Fix NRE caused by 4867ddb, fix catch block in TwitchHelper

* Better solution than 552ba3b, add additional icon sizes

* Add build instructions to README, remove last traces of .Net Framework, other README improvements

* Fix StatusInfo not fully overwriting the previous status,
Move json, html, txt chat operations to dedicated classes,
Fix sample text height being computed every render tick as it is expensive,
Rewrite SubstringToTextWidth() to use spans,
Cleanup

* Sealed core runmode classes, minor TwitchHelper optimizations, convert emoji check from LINQ to foreach (faster), use arrays instead of lists, stringbuilders instead of strings where possible, combine some Rtl and non-Rtl functions, cleanup

* Only use DrawShapedText() with messages containing RTL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants