Translated Lyrics aren't Recognized by Navidrome

App version

Beta

Issue description

Summary

Translated lyrics work correctly when Symfonium reads them locally, but translations aren’t consistently recognized as translated lines when the same lyrics are retrieved from Navidrome.

Setup

  • Symfonium: 16.0.0B6
  • Android: 16 / OnePlus 12
  • Navidrome 0.64.2 (10114574)
  • OpenSubsonic API
  • Lyrics retrieved through getLyricsBySongId
  • FLAC containing a LYRICS tag and a same-name .lrc file with identical contents

Lyrics format

Word-by-Word with Translation:
Original line synced word-by-word followed by translation synced as a normal synced lyrics, both share the same timestamp

Example:

[00:15.58]<00:15.58>Zumbale <00:15.78>mambo <00:15.93>pa' <00:16.13>que <00:16.35>mis <00:16.53>gatas <00:16.71>prendan <00:16.89>los <00:17.349>motores
[00:15.58]Play that mambo so my girls start their engines

Synced Lyrics with Translation:
Original line followed by translation, both sharing the same timestamp:

Example:

[00:13.95]De borrar lo que ha pasado y perdonarla
[00:13.95]To erase what happened and forgive her

Observed behavior

Lyrics type Local Device Navidrome
Word-by-word, no translation Works Works
Word-by-word, translation enabled Works Translation is highlighted
Word-by-word, translation disabled Works Translation still appears, not highlighted
Synced lyrics, no translation Works Works
Synced lyrics, translation enabled Works Translation isn’t highlighted
Synced lyrics, translation disabled Works Translation still appears, not highlighted

What Navidrome returns

getLyricsBySongId returns both lines correctly with the same start value (e.g. 85300). The response contains a single structuredLyrics entry with lang: "xxx" and synced: true.

Expected behavior

The second line, which shares the timestamp with the original, should be recognized as a translation, consistent with local device lyrics:

  • Translation disabled: the translated line should be hidden.
  • Translation enabled: the translated line should be displayed with translation styling/highlighting.

Device type

Phone

Media provider

Navidrome

Steps to reproduce

Play both songs:
Synced Lyrics with Translation:
57. Rondando Tu Esquina
Word-by-Word with Translation:
116. Gasolina

  1. Play the songs through Local Device:
  • Enable in the Lyrics settings - General the following: Color translations, and Word sync translation.
  • Play both songs and see that the lyrics show and are highlighted.
  • Go to the settings again and enable “Hide translations”
  • Play again both songs and see that the lyrics are hidden.
  1. Play the songs through a Navidrome Server:
  • Enable in the Lyrics settings - General the following: Color translations, and Word sync translation.
  • Play both songs and see what I have described.
  • Go to the settings again and enable “Hide translations”
  • Play again both songs and see what I have described.

The behavior is reproducible using the same lyrics locally and through Navidrome, with the difference seemingly associated with how the lyrics are retrieved or interpreted.

Additional information

Additional data (Navidrome 0.64.2, getLyricsBySongId with and without &enhanced=true)

  • Navidrome returns a single structuredLyrics entry with kind “main”.
  • The translation is an extra line with the same start as the original (e.g. start 85300).
  • With enhanced=true, cueLine entries point to the original lines by index (0,1,2,3,5,7,…) and skip the translation lines (4,6,8,…).
  • No structuredLyrics entry with kind “translation” is returned.

Question: Should Symfonium treat same-start line pairs from a Subsonic server as translations, as it does for local files? Or does it expect a separate structuredLyrics entry with kind “translation” (OpenSubsonic songLyrics v2)? If the latter, I’ll open a request with Navidrome.

Attached: lyrics JSON and metadata JSON for both songs, plus the .lrc files.

Screenshots

I searched existing issues first

on

I understand that logs are mandatory

on

Log upload name / description

Forum user: P0nch0 Issue: Translated Lyrics aren’t Recognized by Navidrome

It is expected that Navidrome return the type. Since there’s no parsing done by Symfonium it can’t know if it’s a translation or another voice or anything just from the timestamp.

Ok, so if I under correctly Symfonium doesn’t parse lyrics from servers, so Navidrome has to label translation lines itself. If Navidrome will label translation lines, will Symfonium recognize it? Should I open a feature request on Navidrome’s GitHub?

Or is there a different lyrics format I should use? Is there something that Navidrome will recognise that will play well with Symfonium Should I change my lyrics format?

What should I do next?

I’d use TTML for these lyrics. Put the translation in a span inside the original line’s <p>, with ttm:role="x-translation" and a language such as xml:lang="en". LRC has no standard way to mark translations. Symfonium can infer them from consecutive lines with the same timestamp when it reads the LRC directly, but other players and servers can interpret those lines differently.

Yes, Symfonium recognises a separate OpenSubsonic structuredLyrics entry with kind: "translation", and Hide translations applies to those lines. A shared timestamp inside a main entry could also mean two singers at once.

I’d try a .ttml sidecar on one track first, with the matching .lrc moved aside for the test. If Navidrome skips the TTML or still sends both lines as main, I’d open a feature request there to read the explicit TTML translation and return it as a separate translation entry in getLyricsBySongId.

Thanks for the suggestion to try TTML. Here is a full report of what I tested, in order, ending with where things stand now.

**Setup:** Navidrome 0.64.2 (OpenSubsonic), Symfonium v16.0.0B6, Android 16. Test songs: *Gasolina* (word-synced) and *Rondando Tu Esquina* (line-synced). I set `.ttml` first in Navidrome’s lyrics priority.

-–

## 1. TTML test (your suggestion)

I converted my LRC files to TTML and put the translation inside each line’s ``, exactly as you described:

57. Rondando Tu Esquina.json (5.5 KB)

116. Gasolina.json (34.2 KB)

(Note: For some reason I cannot upload a ttml extension so I changed the extension to json)

```xml

Total, la gente siempre habla

Anyway, people always talk

```

For Gasolina I used one `` per word for word-sync, with the translation span at the end of the ``.

**What Navidrome returned from `getLyricsBySongId` (JSON attached):**

116. Gasolina - Navidrome Lyrics TTML.json (114.4 KB)

57. Rondando Tu Esquina - Navidrome Lyrics TTML.json (4.6 KB)

- Only **one** `structuredLyrics` entry, with `kind: “main”` and `lang: “es”`. There is no entry with `

kind: “translation”`.

- The translation is **concatenated onto the original line with no separator**, e.g. `“Total, la gente siempre hablaAnyway, people always talk”`.

- Timing was parsed correctly. Gasolina returned `cueLine` data with per-word cues, but the translation text is merged into the same line and cues.

**What Symfonium showed (screenshots attached):** each line appears as original and translation glued together, e.g. “…siempre hablaAnyway, people always talk”. Symfonium can’t tell it is a translation, which is consistent with what you said: it only recognises a separate entry with `kind: “translation”`.

Rondando Tu Esquina:

Gasolina:

**Conclusion:** Navidrome currently does not read the TTML `x-translation` span as a translation. I plan to open a feature request on Navidrome asking it to return those spans as a separate `structuredLyrics` entry with `kind: “translation”`.

-–

## 2. Second experiment: LRC from LyricsPlus / Paxsenix

I then tried LRC files generated by LyricsPlus (via the Paxsenix API). They are a different format from my earlier paired-line LRCs. Translations are stored as extra tags, and backing vocals as `[bg:]` lines:

Gasolina.json (10.7 KB)

Rondando Tu Esquina.json (3.0 KB)

(Note: Again… For some reason I cannot upload a lrc extension so I changed the extension to json)

```

[00:10.658]<00:10.658>Zúmbale <00:11.027>mambo … <00:12.449>motores

[x-translated:10658:Play that mambo to get my girls revving their engines]

…

[bg:<00:32.831>(Dame <00:33.142>más <00:33.44>gasolina)]

```

**What Navidrome returned (JSON attached):**

116. Gasolina - Navidrome Lyrics Mornye.json (116.9 KB)

57. Rondando Tu Esquina - Navidrome Lyrics Mornye.json (3.5 KB)

- **The translation text is dropped completely.** I searched the whole response and it appears nowhere. There is one `kind: “main”` entry with `lang: “xxx”`.

- **Backing vocals work.** Gasolina returns `agents` (`main` and `bg`), and each `cueLine` carries an `agentId`.

**Symfonium results** (the same two songs, with and without “translation” enabled):

| Source | Translation on, Word-by-Word | Translation on, Synced | Translation off, Word-by-Word | Translation off, Synced |

|—|—|—|—|—|

| Offline download from Navidrome | Translation shown, but no highlighting of backing or main vocal | No translation | Translation hidden, backing and main vocal highlighted | No translation |

| Streaming from Navidrome | No translation, backing and main vocal highlighted | No translation | No translation, backing and main vocal highlighted | No translation |

| Local flac + .lrc file | No translation, backing vocal highlighted, main vocal **not** highlighted | No translation | No translation, backing vocal highlighted, main vocal **not** highlighted | No translation |

The flac file has no lyrics tag, so the lyrics only come from the `.lrc`.

**A caveat on the offline-download row:** the text in my screenshot there (“Dame mas gasolina” / “She likes gasoline”) matches my *older* paired-line LRC, not the new files (“Dame más gasolina” / “She loves the gasoline”). Symfonium may have used a cached copy of the old lyrics, so please treat that row with caution. I will clear the lyrics cache, re-download and retest, and update this thread.

-–

## 3. Current situation

- **Via Navidrome:** neither format produces a `kind: “translation”` entry. TTML gets the translation merged into the main line. The LyricsPlus LRC loses the translation completely. Backing-vocal highlighting works well in the LyricsPlus LRC.

- **Symfonium reading LRC directly:** it doesn’t show translations from `[x-translated:…]` tags, and it highlights backing vocals but not the main vocal in these files.

- **So at the moment** I can’t get translation plus vocal highlighting together in any setup.

Screenshotssss:

Local Device offline version with translation hidden:

Rondando Tu Esquina not showing translation what so everrr!!

Gasolina showing main and backing vocal highlighted:

That weird “bug?!” when downloading Gasolina through Navidrome:

## Questions

1. Could Symfonium support `[x-translated:ms:text]` tags when it parses LRC itself? LyricsPlus/Paxsenix produce them, but I don’t know how widespread they are.

2. For local LRC files with word timings and `[bg:]` lines, is it expected that the main vocal isn’t highlighted while the backing vocal is?

3. Is there any lyrics format served by Navidrome today that Symfonium shows as a translation? If not, I’ll wait for the Navidrome change.

Happy to share the full TTML/LRC files, JSON responses and screenshots, and to run any other tests you want.

Thanks!

Update: translations now work when I use Apple-style TTML.

Since the inline x-translation span didn’t work, I tried the layout Apple Music uses: translations in a block, keyed to each line, with backing vocals asttm:role="x-bg spans. The TTML files, Navidrome’s getLyricsBySongId JSON and screenshots are attached.

116. Gasolina - Navidrome Lyrics Apple TTML.json (123.6 KB)

57. Rondando Tu Esquina - Navidrome Lyrics Apple TTML.json (6.9 KB)

Note: the forum doesn’t let me upload ttml files so I changed the extension to json.

Gasolina.json (33.4 KB)

Rondando Tu Esquina.json (5.2 KB)

TTML structure

xml
<translations>

  <translation type="subtitle" xml:lang="en">

    <text for="L1">Tonight I feel like looking for her</text>

    ...

  </translation>

</translations>

...original line...

Gasolina is word-synced, with 12 backing-vocal lines nested in the preceding line as x-bg spans. Rondando Tu Esquina is line-synced.

What Navidrome returns now

This is what we were missing. Each song comes back with two structuredLyrics entries:

  • kind: "main", lang: "es". For Gasolina it includes agents (main and bg) and the cueLine data.

  • kind: "translation", lang: "en", with 52 lines for Gasolina and 25 for Rondando Tu Esquina, at the same start times as the main lines.

So Navidrome does map the head-block translations to a proper translation entry. The inline-span layout I tried before only produced one merged main entry.

Symfonium results

I cleared the lyrics cache before testing. That fixed the stale lyrics I saw earlier during the offline download.

| Source | Translation on, Word-by-Word | Translation on, Synced | Translation off, Word-by-Word | Translation off, Synced |

|—|—|—|—|—|

| Streaming from Navidrome | Translation shown, backing and main vocal highlighted | Translation shown | Translation hidden, backing and main vocal highlighted | Translation hidden |

| Offline download from Navidrome | Same as streaming | Same as streaming | Same as streaming | Same as streaming |

| Local flac + .ttml | Translation shown and highlighted word by word (the file has no word timing for it), backing vocal highlighted, main vocal not highlighted | Translation shown and highlighted word by word | Translation hidden, backing vocal highlighted, main vocal not highlighted | Translation hidden |

The “Hide translations” setting works as expected in every mode.

Current situation

- Via Navidrome (streaming and offline download), everything works: translations, the translation toggle, backing-vocal highlighting and main-vocal highlighting. Thanks for pointing me to the right direction.

- Remaining issues, only when Symfonium reads a local `.ttml` or `.lrc` itself, without Navidrome:

  1. The main vocal isn’t highlighted word by word while the backing vocal is. This happened with the LyricsPlus LRC files too.

  2. The translation line is highlighted word by word even though the file has no word timing for it. This is only cosmetic.

- My earlier question about [x-translated:...] tags in LRC is now low priority, since TTML covers my use case.

Happy to run any other tests. Thanks for the help!