Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer bilingual lyrics: Should also work without [tt] word-precision lines and also for [tr:] languages other than Chinese (zh-Hans) #627

Open
porg opened this issue Feb 5, 2024 · 0 comments

Comments

@porg
Copy link

porg commented Feb 5, 2024

Preferences → General → Prefer bilingual lyrics

Currently only works if ...

  1. there are three identical timestamp instances
  2. the 2nd identical timestamp instance translation language is Chinese, [tr:zh-Hans]
  3. the 3rd identical timestamp instance starts with a [tt] and contains the word-precision timestamps

Please also support

  • Ad 2) Any [tr:] language translation, not only Chinese.
  • Ad 3) LRCX files with line precision only, containing no word-precision lines.
  • Then one could use simple bilingual line precision lyrics! Would be great! 👍

Sample Files

✅ Works — Word precision + Chinese translation

song.tt.zh-hans.lrcx :

[00:15.019]one two three four
[00:15.019][tr:zh-Hans]1 2 3 4
[00:15.019][tt]<0,0><614,5><925,11><1301,15><1799,18><1984,19><2175,20><2425,21><2611,22><3731,23><3731>
[00:22.056]five six seven
[00:22.056][tr:zh-Hans]5 6 7
[00:22.056][tt]<0,0><554,5><741,9><991,14><1302,15><1486,16><1792,17><1792>

❌ Fails — Word precision + German translation

song.tt.de.lrcx :

[00:15.019]one two three four
[00:15.019][tr:de]eins zwei drei vier
[00:15.019][tt]<0,0><614,5><925,11><1301,15><1799,18><1984,19><2175,20><2425,21><2611,22><3731,23><3731>
[00:22.056]five six seven
[00:22.056][tr:de]fünf sechs sieben
[00:22.056][tt]<0,0><554,5><741,9><991,14><1302,15><1486,16><1792,17><1792>

❌ Fails — Line precision + Chinese translation

song.zh-hans.lrcx

[00:15.019]one two three four
[00:15.019][tr:zh-Hans]1 2 3 4
[00:22.056]five six seven
[00:22.056][tr:zh-Hans]5 6 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant