Skip to main content

beets-tidalv1

tidalv1 adds TIDAL v1 sources to the built-in beets lyrics and fetchart plugins.

The lyrics endpoint used is the legacy v1 endpoint:

GET https://api.tidal.com/v1/tracks/{track_id}/lyrics

TIDAL v2 does not currently expose the same lyrics payload.

Install

beets-tidalv1 requires Beets 2.7 or newer and Python 3.11–3.14.

python -m pip install "beets-tidalv1 @ git+https://github.com/treyturner/beets-plugins.git#subdirectory=plugins/tidalv1"

Configure beets

Enable this plugin before lyrics and fetchart so it registers before beets builds the source lists:

plugins:
  - tidalv1
  - lyrics
  - fetchart

lyrics:
  sources:
    - tidalv1
    - lrclib

fetchart:
  sources:
    - filesystem
    - tidalv1
    - coverart

tidalv1:
  v1_client_id: YOUR_TIDAL_V1_APP_CLIENT_ID
  v1_client_secret: YOUR_TIDAL_V1_APP_CLIENT_SECRET
  country_code: US
  prefer_synced: yes
  art_size: 1280
  match_threshold: 0.78

A legacy v1 client ID and secret are required. If you have a credential pair in the same format used by tiddl, you can provide a Base64-encoded <v1_client_id>;<v1_client_secret> value instead:

tidalv1:
  v1_client_id_secret_b64: BASE64_ENCODED_PAIR

If left empty, a best-effort attempt will be made to find it for you.

Run beet tidalv1 --auth once to authorize a TIDAL account, mirroring the official tidal plugin's beet tidal --auth interface. The command opens the authorization URL in your browser and stores a refreshable token cache named tidalv1_token.json in beets' application config directory.

Usage

Fetch lyrics through the normal beets command:

beet lyrics artist:"Daft Punk"

Fetch album art through the normal fetchart command:

beet fetchart -f album:"Discovery"

During imports, the built-in lyrics and fetchart plugins handle automatic updates when their own auto settings are enabled.

All TIDAL requests share a process-wide HTTP session limited to 4 requests/sec. HTTP 429 responses are retried up to six times with exponential backoff, and Retry-After is honored if provided. If retries remain exhausted, lyrics and artwork sources log one warning and allow the next configured source to run.

Development

Run tests:

uv sync
uv run pytest
uv run mypy
uv run pyright

Run a single module:

uv run pytest tests/test_client.py

Metadata

Release files for beets-tidalv1 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beets-tidalv1 0.1.3
File Size Uploaded Provenance Actions
beets_tidalv1-0.1.3.tar.gz 21.4 kB With provenance Details for beets_tidalv1-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for beets-tidalv1 0.1.3
File Interpreter ABI Platform Actions
beets_tidalv1-0.1.3-py3-none-any.whl Python 3 none any Details for beets_tidalv1-0.1.3-py3-none-any.whl

Total release size: 37.1 kB

Release files / beets_tidalv1-0.1.3.tar.gz

Download URL beets_tidalv1-0.1.3.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
01e7c69be1cd45d65430e46239439811513852d2d364a66fb1ecba7c23ec0e08
BLAKE2b-256 checksum
How to use checksums
cf20faee6028d59ae86671aec08bc4118b6adc541c857bd49d6ba374132452d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / beets_tidalv1-0.1.3-py3-none-any.whl

Download URL beets_tidalv1-0.1.3-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d631ec56733691d362337f9d9a4287e184c64beafdda1037ef83590cc56f010
BLAKE2b-256 checksum
How to use checksums
2eb10afabcc99176a81824a0bdd9098e2e110c97088f5fca3e0439b5c170b6f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for beets-tidalv1 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for beets_tidalv1-0.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page