Skip to content

jpzfm/spotify-meta-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Metadata Tool for Alfred


Python 3 script that pulls a song's metadata from Spotify using a track URI or URL as input and outputs a script filter-compatible JSON for Alfred.

Spotify Meta Tool

Requirements


Spotipy

pip install spotipy

JSON Template for Credentials File


Create a creds.json file in the working directory of the script with your Spotify credentials using this template:

{
  "client_id": "YOUR_SPOTIFY_CLIENT_ID",
  "client_secret": "YOUR_SPOTIFY_CLIENT_SECRET"
}

Alfred Script Filter


Example shell script for "script" section of Alfred script filter object:

/usr/local/bin/python3 spotify-meta-tool.py $1

Credits


All included icons by Icons8.

About

spotify-meta-tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages