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

[Feature]: TLDex Twitch support #428

Open
5 tasks done
r2dev2 opened this issue Aug 29, 2022 · 2 comments
Open
5 tasks done

[Feature]: TLDex Twitch support #428

r2dev2 opened this issue Aug 29, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@r2dev2
Copy link
Member

r2dev2 commented Aug 29, 2022

Checklist

  • This is a suggestion for LiveTL, not Hyperchat. I will go to the Hyperchat repo to suggest a feature for Hyperchat.
  • This is a suggestion for the LiveTL web extension, not LiveTL iOS or LiveTL Android. I will go to the iOS or Android repo to suggest features for those platforms.
  • I have checked for a duplicate or similar feature request/issue. I made sure to check closed issues as well.
  • I am not reporting a bug. If I am, I will use the bug report issue template.
  • By submitting this issue, you agree to follow our Code of Conduct

Is your feature request related to a problem? Please describe.

TLDex doesn't work on twitch

Describe the solution you'd like

Make TLDex work on twitch

Describe alternatives you've considered

resurrect mchad kudasai

Anything else?

lmaono

@r2dev2 r2dev2 added the enhancement New feature or request label Aug 29, 2022
@r2dev2
Copy link
Member Author

r2dev2 commented Aug 29, 2022

Some extra information with regards to implementing this:

Start Time

TLDex translations are stored with unix time, you need to find the start time in order to show tls at the correct time.

POST
https://gql.twitch.tv/gql

request body: https://pastebin.com/Vg881UVH

response: https://pastebin.com/bjnTM2dS

created time: json[0].data.video.createdAt (in format of 2022-07-25T11:02:42Z)

Example VOD

VOD link: https://www.twitch.tv/videos/1542195649

API link: https://holodex.net/api/v2/videos/custom/chats?tl=1&custom_video_id=https://www.twitch.tv/videos/1542195649

Schema:

api json response

@r2dev2
Copy link
Member Author

r2dev2 commented May 18, 2023

Realizing I forgot to comment here: there were some issues with TLDex live api for twitch making it hard to implement for live.

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

1 participant