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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pystag-0.2.0.tar.gz.

File metadata

  • Download URL: pystag-0.2.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10

File hashes

Hashes for pystag-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3ce8a600ba971656eeb0bc2aa5bb28e05685bad152d4cf2b5bef0b9a365d219c
MD5 3adc75071ec2d30c6ab9af71a62596e1
BLAKE2b-256 9fafe1144c3c3d222f6e6dfb2814a47d8079fd4d87f0605a08f7317d784bffcf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pystag-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10

File hashes

Hashes for pystag-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6641ed089050c9021e1294a603d7a913352f085df04dccad9f4699b0c347afcf
MD5 a9977b6178dff34d6974c8be9996aaf4
BLAKE2b-256 145fab925d19ce82752bee3000688554cab34096d72e9119b87388abafd410a2

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