Skip to content

fix: youtube music urls and androidvr user-agent.#101

Merged
1Lucas1apk merged 2 commits into
PerformanC:v3from
ToddyTheNoobDud:v3
Oct 25, 2025
Merged

fix: youtube music urls and androidvr user-agent.#101
1Lucas1apk merged 2 commits into
PerformanC:v3from
ToddyTheNoobDud:v3

Conversation

@ToddyTheNoobDud

@ToddyTheNoobDud ToddyTheNoobDud commented Oct 25, 2025

Copy link
Copy Markdown
Member

Changes

  • Fixed the youtube music loading by adding an check to see if the url contains music.youtube.com, and auto converts it to a www.youtube.com url for playback (works with singular tracks or playlists)
  • Fixed AndroidVR client returning undefined on user-agent when loading a playlist (was missing a .client)

Why

For youtube music: Properly loading for the youtube music URLs to make it compatible
For androidVR: now its possible to use it again for playlists loading, improving the playback support

Checkmarks

  • [ X ] The modified endpoints have been tested.
  • [ X ] Used the same indentation as the rest of the project.
  • [ X ] Still compatible with LavaLink clients.

Additional information

- This commit fixes not detecting the music.youtube.com URLS.
- Auto convert the music.youtube.com urls to youtube.com for playback.

Signed-off-by: toddynnn <86982643+ToddyTheNoobDud@users.noreply.github.com>
- fixes the warning "Invalid value "undefined" for header "User-Agent"" when loading into playlists

Signed-off-by: toddynnn <86982643+ToddyTheNoobDud@users.noreply.github.com>
@1Lucas1apk 1Lucas1apk merged commit 09feb71 into PerformanC:v3 Oct 25, 2025
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

Successfully merging this pull request may close these issues.

2 participants