Skip to main content

Spotify lyrics provider plugin for LibreLyrics

Project description

librelyrics-spotify

Spotify lyrics provider plugin for LibreLyrics.

Features

  • Fetch synced and unsynced lyrics from Spotify
  • Support for track, album, and playlist URLs
  • TOTP-based authentication with Spotify's internal API

Installation

pip install librelyrics-spotify

Configuration

Requires a Spotify sp_dc cookie. Set it up via:

librelyrics config edit

Or set it directly:

librelyrics config set plugins.Spotify.sp_dc "YOUR_SP_DC_COOKIE"

Getting your sp_dc cookie

  1. Open Spotify Web Player in your browser
  2. Log in to your account
  3. Open Developer Tools (F12) → Application → Cookies
  4. Find the sp_dc cookie and copy its value

Supported URLs

  • https://open.spotify.com/track/<id>
  • https://open.spotify.com/album/<id>
  • https://open.spotify.com/playlist/<id>

Usage

Once installed, the plugin is automatically discovered by LibreLyrics:

librelyrics "https://open.spotify.com/track/4PTG3Z6ehGkBFwjybzWkR8"

License

GPL-3.0-or-later

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

librelyrics_spotify-1.0.1.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

librelyrics_spotify-1.0.1-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file librelyrics_spotify-1.0.1.tar.gz.

File metadata

  • Download URL: librelyrics_spotify-1.0.1.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for librelyrics_spotify-1.0.1.tar.gz
Algorithm Hash digest
SHA256 03fe1d4dc7af72f9170148df4f99aa9f47b37a618aed204c255c9e32f6e20fe1
MD5 942c542af3f3283c6c875562f6a4a759
BLAKE2b-256 56d2ffe4ff4a254b36f947063bdcb81e74c1c2f6b6785f6eef6ab39654085a64

See more details on using hashes here.

Provenance

The following attestation bundles were made for librelyrics_spotify-1.0.1.tar.gz:

Publisher: release_to_pypi.yml on libre-lyrics/librelyrics-spotify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file librelyrics_spotify-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for librelyrics_spotify-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8933a43624c9612bf3d13b42f5cf1459469b31246585877e866234e0c202c8a
MD5 23865a3b6e16070ca708a841c4069082
BLAKE2b-256 4dcec41a0f1dd76b27a828f7230f3f11dc5c8112ba2a01ebe27d49969e198448

See more details on using hashes here.

Provenance

The following attestation bundles were made for librelyrics_spotify-1.0.1-py3-none-any.whl:

Publisher: release_to_pypi.yml on libre-lyrics/librelyrics-spotify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page