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.

Files for pystag, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pystag-0.2.0-py3-none-any.whl (4.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pystag-0.2.0.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page