Skip to content

nightly-8e5dfd2e-ls340

Pre-release
Pre-release

Choose a tag to compare

@LinuxServer-CI LinuxServer-CI released this 05 Sep 00:51
· 16 commits to nightly since this release
928b646

CI Report:

https://ci-tests.linuxserver.io/linuxserver/beets/nightly-8e5dfd2e-ls340/index.html

LinuxServer Changes:

No changes

Remote Changes:

fix(tidal): adapt to current search API (#6990)

Problem

TIDAL album and track searches fail with HTTP 400 even after successful
authentication.

The plugin currently sends search queries as part of the URL path:

GET /v2/searchResults/{query}

TIDAL’s current API requires the query through the filter[query]
parameter:

GET /v2/searchResults?filter[query]={query}

The response format has also changed: data is now an array containing
the search-results resource rather than the resource object itself.

Fixes #6989.

Fix

  • Send search requests to /v2/searchResults.
  • Pass the query using the required filter[query] parameter.
  • Update the SearchDocument type for the new data array.
  • Parse album and track relationships from the first search-results
    resource.
  • Handle empty search responses without raising an exception.
  • Add regression coverage using a query that previously produced HTTP