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.0.tar.gz (22.3 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.0-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: librelyrics_spotify-1.0.0.tar.gz
  • Upload date:
  • Size: 22.3 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.0.tar.gz
Algorithm Hash digest
SHA256 5502bd2b556744af80d8c49ccd1bd46fd98030d26fe0d59aa1297b0692ec1176
MD5 991f1b13a53dc5a390c4371d4756519a
BLAKE2b-256 fe10e821f13970c7ed688b6bb1cb697e1a5a68535eb7378dd2a51ddf37c13ce1

See more details on using hashes here.

Provenance

The following attestation bundles were made for librelyrics_spotify-1.0.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for librelyrics_spotify-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c26de9251885d318ac700734d2a8221e3dcf529bb8e83e4a4f3accb959d2a96
MD5 8b965e77437988dd38c548ffff450082
BLAKE2b-256 679c89a66e9b40160c6099fd6959bb9343957e1fc3a86299b8830ba3defa6ae9

See more details on using hashes here.

Provenance

The following attestation bundles were made for librelyrics_spotify-1.0.0-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