LuteOrg / lute-v3

LUTE = Learning Using Texts: learn languages through reading.
https://luteorg.github.io/lute-manual/
MIT License
480 stars 46 forks source link

Add ASBplayer support #433

Open Mycheze opened 5 months ago

Mycheze commented 5 months ago

I've posted this feature request to ASBplayer's GitHub as well. Link to open issue

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

I use Lute and ASBplayer every day for language learning. They're some of my favorite tools since they're so flexible, useful and open source. But, I'd really like to be able to use Lute features when watching things with ASBplayer.

When I was using Migaku a few years ago for Spanish, it basically had this functionality and it was awesome. I could see which words I was learning, hadn't ever come across, and quickly see the parent term.

Describe the solution you'd like

I'd like for the subs in ASBplayer to be "Lute-y." That means they'd have learning level highlights, hover to local lookup and click to lookup in online. It'd also have lemmatization parent relations. This would make immersing in TV shows SO much easier, especially if the dictionary/lemmatization options aren't great.

You'd also be able to save new words to your Lute database.

Describe alternatives you've considered

An alternate option, if Lute wanted to do this on its own, would be to have a "live Lute" page in the app. This page would monitor the clipboard and have a live updating page with whatever is being copied. ASBplayer has the option to copy subs to clipboard.

This "live Lute" page would add new lines as they came in, allowing users to scroll up to check things easily. If an identical subtitle line came up, it wouldn't add it as a new one (so that rewinding isn't weird). Otherwise, it would act exactly like reading a book.

Additional context

This would turn Lute/ASBplayer into the best option for watching media in a foreign language, especially if there was a robust parent/child map preinstalled. Oh, and being able to create Anki cards with audio/screenshot (already possible with ASBplayer) and Lute definitions would be awesome.

jzohrab commented 5 months ago

Thanks @Mycheze, this sounds like a natural fit, and would be nice to do. Lute has a big backlog as you know, but having browser-level support would be a nice feature. Cheers!