[Bug]: Synced Lyrics: Can't find YTMusic lyrics despite existing in web client #3199

Open
opened 2025-04-05 22:55:21 +00:00 by Laesx · 12 comments
Laesx commented 2025-04-05 22:55:21 +00:00 (Migrated from github.com)

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.8.0

Checklists

What operating system are you using?

Windows

Operating System Version

Windows 11 Pro Version 23H2

What CPU architecture are you using?

x64

Last Known Working YouTube Music (Application) version

No response

Reproduction steps

  1. Enable synced lyrics
  2. Play おらくる - Oracle by Amane Kanata
  3. Click on lyrics

Expected Behavior

You get the lyrics

Actual Behavior

It can't find the lyrics, for any provider, despite them existing in the regular YTM web client (they're synced there as well as you can see in the image for the mobile app).

It can't find LRCLib lyrics despite them existing in the database too.

Android App (to show they're synced officially)
Image

Web Client:
Image

Desktop App:
Image

Enabled plugins

  1. Album Color Theme
  2. Ambient Mode
  3. Blur Navigation Bar
  4. Discord Rich Presence
  5. Exponential Volume
  6. In App Menu
  7. Navigation
  8. Scrobbler Shortcuts
  9. Sponsor Block
  10. Synced Lyrics
  11. Taskbar Media Controls

Additional Information

Seeing the request in the developer tools for LRCLib it's only querying for the English name but they're only available for the Japanese name, maybe we should query for both names as the original title language is displayed in the app anyway?

Though I'm not sure how the title language affects the YTMusic lyric fetching, it seems weird since I don't believe it should matter in that case? I'm not sure how it's implemented though, I'll look through it when I have some time.

### Preflight Checklist - [x] I use the latest version of YouTube Music (Application). - [x] I have searched the [issue tracker](https://github.com/th-ch/youtube-music/issues) for a bug report that matches the one I want to file, without success. - [x] I understand that **th-ch/youtube-music has NO affiliation with Google or YouTube** ### YouTube Music (Application) Version 3.8.0 ### Checklists - [ ] I use the portable version of the YouTube Music Application. - [ ] I can reproduce this issue in the [official version of (WEB) YTM](https://music.youtube.com). ### What operating system are you using? Windows ### Operating System Version Windows 11 Pro Version 23H2 ### What CPU architecture are you using? x64 ### Last Known Working YouTube Music (Application) version _No response_ ### Reproduction steps 1. Enable synced lyrics 2. Play おらくる - Oracle by Amane Kanata 3. Click on lyrics ### Expected Behavior You get the lyrics ### Actual Behavior It can't find the lyrics, for any provider, despite them existing in the regular YTM web client (they're synced there as well as you can see in the image for the mobile app). It can't find LRCLib lyrics despite them existing in the database too. Android App (to show they're synced officially) ![Image](https://github.com/user-attachments/assets/c1cdc657-cf33-4eef-b59f-521a633d595d) Web Client: ![Image](https://github.com/user-attachments/assets/0f1e58ed-a337-4817-8335-736784c41035) Desktop App: ![Image](https://github.com/user-attachments/assets/def71813-cfe1-4079-a9df-45e3cefe630e) ### Enabled plugins 1. Album Color Theme 2. Ambient Mode 3. Blur Navigation Bar 4. Discord Rich Presence 5. Exponential Volume 6. In App Menu 7. Navigation 8. Scrobbler Shortcuts 9. Sponsor Block 10. Synced Lyrics 11. Taskbar Media Controls ### Additional Information Seeing the request in the developer tools for LRCLib it's only querying for the English name but they're only available for the Japanese name, maybe we should query for both names as the original title language is displayed in the app anyway? Though I'm not sure how the title language affects the YTMusic lyric fetching, it seems weird since I don't believe it should matter in that case? I'm not sure how it's implemented though, I'll look through it when I have some time.
Laesx commented 2025-04-05 22:57:22 +00:00 (Migrated from github.com)

I've seen it happen in a few other songs not only this one. But it's fairly inconsistent. I was thinking maybe it's a cache issue? I don't know how aggressive the caching is for the lyrics (or if it does it at all)

I've seen it happen in a few other songs not only this one. But it's fairly inconsistent. I was thinking maybe it's a cache issue? I don't know how aggressive the caching is for the lyrics (or if it does it at all)
Owner

for youtube music lyrics, an old version of the iOS client is used (at least that's the API we use)
maybe they are not available for whatever reason on the old iOS client?

for youtube music lyrics, an old version of the iOS client is used (at least that's the API we use) maybe they are not available for whatever reason on the old iOS client?
Laesx commented 2025-04-05 23:01:07 +00:00 (Migrated from github.com)

for youtube music lyrics, an old version of the iOS client is used (at least that's the API we use) maybe they are not available for whatever reason on the old iOS client?

That's weird, what's the API endpoint? I'll test it

> for youtube music lyrics, an old version of the iOS client is used (at least that's the API we use) maybe they are not available for whatever reason on the old iOS client? That's weird, what's the API endpoint? I'll test it
Owner

I can see that youtube returns lyrics for that song, but they aren't synced.

Image

--

Still, they should have shown even if not synced.
That's weird

I can see that youtube returns lyrics for that song, but they aren't synced. ![Image](https://github.com/user-attachments/assets/519dc7f0-a68e-4167-b3f6-e7a0894852f7) -- Still, they should have shown even if not synced. That's weird
Laesx commented 2025-04-05 23:16:09 +00:00 (Migrated from github.com)

I can see that youtube returns lyrics for that song, but they aren't synced.

Image

--

Still, they should have shown even if not synced. That's weird

Yeah I was checking and just saw it, on Android they are synced so it's doubly weird.

> I can see that youtube returns lyrics for that song, but they aren't synced. > > ![Image](https://github.com/user-attachments/assets/519dc7f0-a68e-4167-b3f6-e7a0894852f7) > > -- > > Still, they should have shown even if not synced. That's weird Yeah I was checking and just saw it, on Android they _are_ synced so it's doubly weird.
Owner

Yeah I am not doubting you, google doesn't send the same data to all clients.

Yeah I am not doubting you, google doesn't send the same data to all clients.
Laesx commented 2025-04-05 23:46:37 +00:00 (Migrated from github.com)

Yeah I am not doubting you, google doesn't send the same data to all clients.

Oh yeah don't worry I know. Anyway I was diagnosing this and yeah, seems the iOS API doesn't get the lyrics for some reason? They appear in the browse?prettyPrint=False from the youtube API itself but they look like this from the proxy thing you guys are using:

Image

Out of 4 requests to the proxy, only 1 of them actually had lyrics.

> Yeah I am not doubting you, google doesn't send the same data to all clients. Oh yeah don't worry I know. Anyway I was diagnosing this and yeah, seems the iOS API doesn't get the lyrics for some reason? They appear in the browse?prettyPrint=False from the youtube API itself but they look like this from the proxy thing you guys are using: ![Image](https://github.com/user-attachments/assets/8b1773c6-acbd-437f-b58b-ce705fac4fb0) Out of 4 requests to the proxy, only 1 of them actually had lyrics.
Laesx commented 2025-04-06 00:33:44 +00:00 (Migrated from github.com)

I can see that youtube returns lyrics for that song, but they aren't synced.

Image

--

Still, they should have shown even if not synced. That's weird

You probably know better than me but looking at the code it doesn't seem to fetch the internal endpoint in your screenshot music.youtube.com/youtubei/v1/browse?prettyPrint=False for lyrics at any point, it only does the proxified one which has a different response.

Would probably be a good idea to add it as a fallback in case the proxy returns "Lyrics not available at this time" or errors out. Though that API doesn't give synced data anyway so meh, I would like to know if they broke the iOS API altogether or it's something temporary. I imagine there's a major reason why you use that specific API, how hard would it be to emulate the Android one for example?

> I can see that youtube returns lyrics for that song, but they aren't synced. > > ![Image](https://github.com/user-attachments/assets/519dc7f0-a68e-4167-b3f6-e7a0894852f7) > > -- > > Still, they should have shown even if not synced. That's weird You probably know better than me but looking at the code it doesn't seem to fetch the internal endpoint in your screenshot `music.youtube.com/youtubei/v1/browse?prettyPrint=False` for lyrics at any point, it only does the proxified one which has a different response. Would probably be a good idea to add it as a fallback in case the proxy returns "Lyrics not available at this time" or errors out. Though that API doesn't give synced data anyway so meh, I would like to know if they broke the iOS API altogether or it's something temporary. I imagine there's a major reason why you use that specific API, how hard would it be to emulate the Android one for example?
Owner

I use that specific API because it does not use protobuf and returns proper json.

Btw it is news to me that a proxy is used.

I use that specific API because it does not use protobuf and returns proper json. Btw it is news to me that a proxy is used.
m0lDaViA commented 2025-08-25 18:59:22 +00:00 (Migrated from github.com)
Image Image

If i enable synced lyrics i can't see anything at all.

<img width="1591" height="885" alt="Image" src="https://github.com/user-attachments/assets/97e7adbc-984d-4c09-9034-edde8cb51752" /> <img width="1598" height="896" alt="Image" src="https://github.com/user-attachments/assets/3c11fbcb-a336-45ba-b802-40fac924c657" /> If i enable synced lyrics i can't see anything at all.
Owner

@m0lDaViA

I got an entirely different album picture for that song

but lyrics do show up, maybe you have a different bug?
iirc a lot of people have reported that the "Video toggle" plugin, when set to "custom" instead of "native" will cause issues such as hiding other UI elements, can you turn that plugin off or change its setting to "native"?

@m0lDaViA <img src="https://media0.giphy.com/media/v1.Y2lkPWJkM2VhNTdlcG5rZjl4MTNjOWJlc280angwZ25zdHAzNHR2ZWhwdDh0Ym1tZWZyYiZlcD12MV9naWZzX3NlYXJjaCZjdD1n/Z6SNHktzrlyLK/giphy.gif"/> I got an entirely different album picture for that song but lyrics do show up, maybe you have a different bug? iirc a lot of people have reported that the "Video toggle" plugin, when set to "custom" instead of "native" will cause issues such as hiding other UI elements, can you turn that plugin off or change its setting to "native"?
m0lDaViA commented 2025-08-26 08:11:24 +00:00 (Migrated from github.com)

but lyrics do show up, maybe you have a different bug? iirc a lot of people have reported that the "Video toggle" plugin, when set to "custom" instead of "native" will cause issues such as hiding other UI elements, can you turn that plugin off or change it's setting to "native"?

You're right. Changing to built-in does work indeed. Funny thing, it worked earlier on the same version.

> but lyrics do show up, maybe you have a different bug? iirc a lot of people have reported that the "Video toggle" plugin, when set to "custom" instead of "native" will cause issues such as hiding other UI elements, can you turn that plugin off or change it's setting to "native"? You're right. Changing to built-in does work indeed. Funny thing, it worked earlier on the same version.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: YTMD/youtube-music#3199
No description provided.