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

Possible to support livestream IRC raw message input file for chat render? #1024

Open
2 tasks done
loopedice opened this issue Apr 2, 2024 · 2 comments
Open
2 tasks done
Labels
enhancement New feature or request

Comments

@loopedice
Copy link

loopedice commented Apr 2, 2024

Checklist

Write your feature request here

Not asking to include the ability to download a livestream chat as it is going, but more so to provide it as an option when using the chat render CLI to take it as an input argument.

As shown in the twitch IRC example here https://dev.twitch.tv/docs/irc/example-parser/#parser-output. Livestream twitch chats will output the below raw strings, which I believe contains mostly everything needed to render the chat like the VOD version. Only thing missing is the start and end time, but you could infer that from the first line tmi-sent-ts=1550868292494 and last line tmi-sent-ts=xxx of the file.

Likewise looping through and adding the time between messages should be doable as well.

@badges=staff/1,broadcaster/1,turbo/1;color=#FF0000;display-name=PetsgomOO;emote-only=1;emotes=33:0-7;flags=0-7:A.6/P.6,25-36:A.1/I.2;id=c285c9ed-8b1b-4702-ae1c-c64d76cc74ef;mod=0;room-id=81046256;subscriber=0;turbo=0;tmi-sent-ts=1550868292494;user-id=81046256;user-type=staff :[email protected] PRIVMSG #petsgomoo :DansGame

Indeed the example in the link showcases how to parse this into a JSON format already, but it isn't compatible with TwitchDownloader.

@loopedice loopedice added the enhancement New feature or request label Apr 2, 2024
@ScrubN
Copy link
Collaborator

ScrubN commented Apr 2, 2024

This is an interesting idea. I don't think I want to add the support to TwitchDownloader for the time being, however I will add it to the project I am working on to address #629.

The idea of the project is to be a utility for translating chats from other logging services into TwitchDownloader compatible chats. At the moment the project is not public as it is still in development, but I will see about prioritizing it a bit more.

@loopedice
Copy link
Author

@ScrubN great to hear, look forward to it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants