TheAssassin / kodi-invidious-plugin

Invidious plugin for Kodi. A privacy-friendly way of viewing YouTube videos, built using the awesome Invidious service's API.
MIT License
50 stars 16 forks source link

Please could you support auto translate subtitles? #14

Open 03stevensmi opened 2 years ago

03stevensmi commented 2 years ago

Hey. I've messaged the guys at plugin.video.youtube to fix there bugged youtube subtitle languages option (that still works on alpah2.matrix1 BTW but can not be used due to buffering issues)... But they have just completatly ignored everyones complaints.

I also tried messaging this guy: https://github.com/cosminadrianpopescu/service.subtitles.yt to fix his now broken addon but again... No response. (tbh i'm really not expecting anyone Here to respond too since my luck has not been the best so far... But better try them to be silent! ;)

I tried the other newest invidious addon to see if I can implement it with the older (alpha2) youtube plugin and fix buffering... But that plugin doesn't want to work ether. So far your version works great.

I saw your comment on supporting subtitles, So your really my last and only change for this feature to finally return!

Please could you set up auto translate subs (choice of auto generated languages). I'm really not expecting this request to get a response, but belive me... I have tried... And looked everywhere. All comments issues etc etc.

So I hope this gets looked at because hell, as hard as the team Woking on the official youtube plugin work, They really do have no interest in helping anyone out on this issue any time soon. So any hope will be amazing.

This goes to anyone reading this too, If you could provide anything to help retern this feature, please by all means do. Ill be keeping an eye out. ;)

Cheers, 03stevensmi

TheAssassin commented 2 years ago

Highly depends on whether Invidious provides a simple way to fetch the subtitles URL, then pass it on to Kodi to render it. Not sure it does, though. Maybe you can check that first? It shouldn't be a big problem to add that functionality then. Otherwise, this is unlikely to be implemented.

TheAssassin commented 2 years ago

They do provide "captions" on the API (I presume it's the subtitles you're requesting) in WebVTT, which would even be supported in Kodi 20 (https://kodi.wiki/view/Subtitles). However, this is completely broken right now in Invidious. Please ask them to fix the bug in the API, then we might be able to implement this.

Example URLs you may pass on to the Invidious project:

As said, it could only ever be supported with Invidious providing the data.

03stevensmi commented 2 years ago

Thank you for the info. I didn't know that the api for subtitles was not 100%. Thank for letting me know. Could your version of Invidious to be used in this way as mentioned in the link below with the official youtube plugin on alpha2.matrix.1:

https://github.com/anxdpanic/plugin.video.youtube/issues/211#issuecomment-939626464

TheAssassin commented 2 years ago

That's not going to happen. That "official" plugin requires API keys which make users easily identifiable. The entire point of this plugin is to preserve users' privacy.

As said, your best option is to try to get Invidious serve the WebVTT subtitles properly.

03stevensmi commented 2 years ago

Ok, thanks for letting me know bro. I will ask around and see if I can get the invidious webvtt fixed. Right now I'm gonna take a brake, been at this all week.

Cheers man!