pgz
Joined 13 years ago
Joined 13 years ago
Video players wouldn't want that in their codebase, maybe if it was available as a C library.
Having a scriptable media player is really something else.
For most applications, it's really not needed though.
The code is here https://github.com/pigoz/mpv-nihongo, keep in mind that a lot of stuff is hardcoded, poorly documented, and it requires an mpv patch to work.
If there's enough interest, I can try and make it simple for someone that's not me to use.
I can press a button and have the current subtitle analyzed for words with mecab, or press another button and have audio + screenshot + text sent to Anki for review.
mpv allows to seek previous/next subtitle, so even relistening a particular phrase is really convenient.
It makes language learning really fun.
On the other hand I have always lived in Northern Italy, and around half of my taxes go to the poorer regions of Italy, mostly to be squandered by corruption, clientelism, and organized crime.
It looks exactly like the screenshot of that project. Very interesting that I thought of the same solution without knowing jijimaku.