Skip to main content

fetch audio metadata from spotify and tag them to your audio files

Project description

tag-from-spotify

PyPI output tag-from-spotify is a Python CLI tool to fetch audio metadata from Spotify and tag them to your audio files.

Installation

pip install tag-from-spotify

Authorization

1. Create Credentials

To fetch data from Spotify, you have to register this app to your dashboard and create your Client ID and Client Sectet. You will see the detail process on the Spotify Developer page, but note that you won't have to prepare your website URL or a redirection URL.

2. Set Credentials to Enviroment Variables

Then add your Client ID and Client Secret to your enviroment variables like this:

export SPOTIPY_CLIENT_ID='your-spotify-client-id'
export SPOTIPY_CLIENT_SECRET='your-spotify-client-secret'

Usage

tfsp ALBUM_ID [DIR]
  • ALBUM_ID: the album ID, URI or URL such as the following examples:
  • DIR: path to the directory containing audio files to set tags (cwd by default)

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

tag-from-spotify-0.2.0.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

tag_from_spotify-0.2.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file tag-from-spotify-0.2.0.tar.gz.

File metadata

  • Download URL: tag-from-spotify-0.2.0.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for tag-from-spotify-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5cb9c263631f9ee024b644d67ecc0f8af0d825efbe90c8c7e260b2530a9e5dcd
MD5 010727dafdb8ee05ae8ced889490a945
BLAKE2b-256 b0ed5fb460c17a737e6dc6ea6161dd6c7ba41c4f514837e479d4f738b52f8cb6

See more details on using hashes here.

File details

Details for the file tag_from_spotify-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: tag_from_spotify-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for tag_from_spotify-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bdefa62042d16a676b629f85c389792df19bbe2c3f9fc37f43acf7564619bdd3
MD5 99fbecae6dfee2afbbab9dbfa726692b
BLAKE2b-256 71a93204e35eb507c31db1c7ed4b317cfd3d44afa800283f0f5add94c1ddfe4b

See more details on using hashes here.

Supported by

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