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

Since this package is meant to be an end-user app (not a library), it is highly recommended to install with pipx.

pipx install tag-from-spotify

Of course, you can use pip as well.

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

Uploaded Source

Built Distribution

tag_from_spotify-0.2.1-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tag-from-spotify-0.2.1.tar.gz
  • Upload date:
  • Size: 16.2 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.1.tar.gz
Algorithm Hash digest
SHA256 2b5908efd830b0c93fe1a6a001fae516c7fb5ff1836b791f120dba34e545b05b
MD5 52b15fbfbc21d3098c79e7fbcebeb93b
BLAKE2b-256 5a42e5481cafb02dc85109991ea67edd8b5afda1bd5dbd1b549b5d140517d44b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tag_from_spotify-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 16.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 89fb6fc406b83ee4d4be8c887aa3c79244ca1b3ede2c64ff3191ee19a23d0c78
MD5 aa06a380013827a4f26c23a05b866e90
BLAKE2b-256 ce442a54f029bf7f611be9ae87450d39e043942489aa46bbb01689247b23fcc5

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