Skip to main content

Tag local music using spotify api

Project description

# stag

Spotify tagger

Tag your local music using spotify api.

![gif](https://i.imgur.com/eoPL9xZ.gif)

> Adds proper title, album, artist and album art and renames file to title.

## Installation

` pip3 install pystag `

## Usage

You need to set 3 environment variables for stag

  • SPOTIFY_CLIENT_ID
  • SPOTIFY_CLIENT_SECRET
  • SPOTIFY_USERNAME

Once this is set you can just run stag in the folder with the songs.

Go [here](https://developer.spotify.com/documentation/general/guides/app-settings/#register-your-app) to know how to generate a CLIENT_ID and CLIENT_SECRET. To get the USERNAME just check the profile share link in your profile. Your profile share link will look something like https://open.spotify.com/user/<USERNAME>?si=<SOMETHING_ELSE>

## Requirements

  • eyed3 ( tag songs )
  • spotipy ( spotify api client )

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

pystag-0.2.0.tar.gz (3.6 kB view hashes)

Uploaded source

Built Distribution

pystag-0.2.0-py3-none-any.whl (4.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page