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]: Cache Captured Translations #421

Open
5 tasks done
xM8WVqaG opened this issue Jul 16, 2022 · 1 comment
Open
5 tasks done

[Feature]: Cache Captured Translations #421

xM8WVqaG opened this issue Jul 16, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@xM8WVqaG
Copy link

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.

When the chat window gets redrawn it loses all the translations it's captured. This can happen before you've had a chance to read the translations. For example, if the YouTube window/player gets resized and the chat window moves from inline to below the video.

Describe the solution you'd like

It would be convenient if captured translation lines were cached and reloaded when chat loads. It wouldn't need to cache them for a long time for this to be useful (5-10 minutes would fix with missing a recent line), but a longer cache might have other uses (for example, for downloading TLs).

Describe alternatives you've considered

  • ytcFilter has (had?) this functionality and it was really useful.
  • The other option is to wait until the steam finishes and the archive becomes available so you can rewind chat
    • This is pretty inconvenient when you're watching live and you only missed a short amount
    • It's not uncommon for chat replay to be temporarily disabled immediately after a stream ends while YouTube processes the archive
    • Sometimes archived streams have chat replay completely disabled
    • Not all streams are archived

Anything else?

I couldn't see any configuration for this functionality so I assume it doesn't already exist.

It's not obvious to me what LiveTL does vs what Hyperchat does but I presume LiveTL captures the messages (?) and sends them to Hyperchat (?) in which case it makes sense for the cache to exist in LiveTL and for it to replay cached messages to Hyperchat.

@xM8WVqaG xM8WVqaG added the enhancement New feature or request label Jul 16, 2022
@ChrRubin
Copy link
Member

ChrRubin commented Jul 17, 2022

We used to support this feature quite a lot of versions ago, but removed it along the way.

The reasoning for removing it is that storing data like this gets really messy really fast, and was causing more headaches than was deemed worth to continue supporting. We might have another look at it, but just wanted to let you know about our history with this feature.

And about HyperChat, it's just a more optimized replacement of the default YouTube chat. It does nothing else other than show YTC messages. HyperChat already intercepts YTC messages, so LTL piggy backs off those instead of having a duplicate interception system, and applies filters to be shown in the TL area (plus a whole lot of other features).

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