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

[BUG] func autoTranslate not correct length item #260

Open
PhuCG opened this issue Nov 14, 2023 · 2 comments
Open

[BUG] func autoTranslate not correct length item #260

PhuCG opened this issue Nov 14, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@PhuCG
Copy link

PhuCG commented Nov 14, 2023

in video link: https://www.youtube.com/watch?v=uk-JuzGlSgs
final captions = captionTrack.captions.toList(); final translateCaptionTrack = await closedCaption.get(trackInfo.autoTranslate(nativeCode)); final translates = translateCaptionTrack.captions.toList();
results:

  • captions lenght 183
  • translates lenght 173
    please help? some solution for that.
@PhuCG PhuCG added the bug Something isn't working label Nov 14, 2023
@Hexer10
Copy link
Owner

Hexer10 commented Nov 16, 2023

Are you sure this is an issue with the library? It could be that Youtube in the translation changes the captions count.

@PhuCG
Copy link
Author

PhuCG commented Dec 1, 2023

I tried going to the video on ytb and checking to see if those sentences had subtitles, it was all there on ytb . I don't know any other way to check, I just use my eyes and check it on ytb .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants