Ooh, the #Tauon music player supports embedded lyrics and has a good-enough synchronized lyrics display
this might become a thing for me, it would be MUCH easier to edit and sync lyrics on PC before copying to mobile
Ooh, the #Tauon music player supports embedded lyrics and has a good-enough synchronized lyrics display
this might become a thing for me, it would be MUCH easier to edit and sync lyrics on PC before copying to mobile
in particular, Tauon's workflow is pretty smooth, and I'm quoting from the manual here "if you don't make any mistakes"
if you *do* make a mistake, particularly one where you advanced a line too early, well, good luck
excuse me, what
```
if sethint_result is None:
logging.error("Failed to run SetHint, probably due to https://github.com/Aermoss/PySDL3/issues/35, will try a workaround")
sys.exit(1)
```
oh
```
builtins._ = translation.gettext
```
oh dear

the way Tauon detects a click in the lyrics editor is a dizzying nest of conditions and loops that scans over every clickable thing and determines if a click occurred and if it's in-bounds
rather than inverting that, starting with a click as an event and looking up what might have been targeted by it
[low whistle]
clearly I am not going to get anywhere with this right now, especially as it is exceedingly late (early?) here
but this was a fun little exercise, and maybe I can tweak this to be less painful for me personally to use.
even an ability to reset the timing of a line will help. maybe that even exists already but is poorly documented. we'll see
@xgranade yea I'm not even sure *how* it broke in that way, other than that I'm sure it's due to being excessively clever by binding it this way.
makes `global` look sophisticated!
@xgranade @SnoopJ I'm not sure Tauon or Calibre can be blamed for that one, since it's a longstanding convention for hooking UI string display for local translation: https://docs.python.org/3/library/gettext.html#internationalizing-your-programs-and-modules
Even the stdlib isn't really the origin of the convention, though, as Python's gettext layer inherited that convention from C. Hysterical raisins strike again!
@ancoghlan @SnoopJ Considering I've seen `import sys; sys.foo = bar` used to manage global state...
All joking aside, yeah, __builtins__ was a good name.
@ancoghlan @xgranade I guess I'm outing myself as someone who doesn't work with a lot of internationalization, then!
I wonder if the behavior I saw was due to doing this manually rather than calling `install()` 