Files
SpotiFLAC-Mobile/android/app
zarzet db27be3986 feat(lyrics): write translation tags as readable text
Saved translations and pronunciations were base64, so a .mlrc file or
a song's lyrics tag could not be read or fixed by hand. They are now
written as plain text under new tag names, still in ID tag form so
other players skip them:

  [x-romanized:12340:bokura wa]
  [x-translated-words:12340:<00:12.34>We <00:12.60>are<00:13.00>]
  [x-translated:12340:We are]

A value runs to the row's last ']', so only a line break (\n) and a
backslash (\\) are escaped, plus '<' (\<) inside word timing. Word
timing is enhanced LRC; a time with no word after it ends the word
before it, so gaps between words survive.

The old x-romaji and x-translation base64 tags are still read by both
parsers and are rewritten in the new form the next time the lyrics
are saved. Damaged old tags are dropped on that save, as the player
already ignored them. .mlrc files now start with [x-mlrc:2]; earlier
app versions read the header as a plain tag and show the lyrics, but
not the new translations.

The Rust download writer uses the same form. New shared parser
fixtures and usability rows keep the Dart and Rust readers in step.
2026-11-23 00:04:04 +07:00
..