Skip to content

Conversation

@fynngodau
Copy link
Member

@fynngodau fynngodau commented Jul 21, 2024

Previously, if no URL was provided due to the track being a preorder or unpaid track that doesn't have its own public page, we would catenate the artist URL and null to a nonsensical string.

This invalid URL would also be used to try fetching a thumbnail URL.

The downstream behavior of the NewPipe client is only marginally improved, as it now no longer throws visible exceptions due to the missing thumbnails, but still gives an unfriendly error upon clicking the item that has a null URL.

  • I carefully read the contribution guidelines and agree to them.
  • I have tested the API against NewPipe.
  • I agree to create a pull request for NewPipe as soon as possible to make it compatible with the changed API.

Resolves #1154, and also resolves a discussion in #1033 (comment).

Previously, if no URL was provided due to the track being a preorder or
unpaid track that doesn't have its own public page, we would catenate
the artist URL and null to a nonsensical string.

This invalid URL would also be used to try fetching a thumbnail URL.

The downstream behavior of the NewPipe client is only marginally
improved, as it now no longer throws visible exceptions due to the
missing thumbnails, but still gives an unfriendly error upon clicking
the item that has a `null` URL.
@TobiGr TobiGr merged commit 87af6bb into dev Jul 22, 2024
@TobiGr TobiGr deleted the bandcamp-fix-null-url-catenation branch July 22, 2024 06:26
@ShareASmile ShareASmile added bandcamp service, https://bandcamp.com bug Issue is related to a bug labels Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bandcamp service, https://bandcamp.com bug Issue is related to a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bandcamp] Bug Pre-order Digital album shows links as null

3 participants