Skip to main content

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

Project description

tag-from-spotify

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.1.0.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

tag_from_spotify-0.1.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tag-from-spotify-0.1.0.tar.gz
  • Upload date:
  • Size: 15.9 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.1.0.tar.gz
Algorithm Hash digest
SHA256 15ac71d9073ddc29346d61d7b7f2863f317c038ef42c61c549b20dc038f04250
MD5 edabd4fa7d58002c3196c892e5a4c820
BLAKE2b-256 d93b12adc296721ba413d8782057a274dfc1f4a2039ff3e447320e8b0d888dc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tag_from_spotify-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.9 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1dd9fed8e6c1f491733b0c92d93cd13ed93f2e70cdac61921808d47cb5e3f97
MD5 e3328ad917663211336fe60dbba52864
BLAKE2b-256 f732014f113a41f9b256c0d342a01c70cd44a701eb3363ec668dc0c6fc09e384

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