Skip to main content

A CLI tool to manage your Spotify playlists.

Project description

Spotify CLI Tool

This python script helps the user export all the songs from their Liked Songs playlist into another playlist using Spotify's Web API.

NOTE: You need to have Python and pip installed in your system.

Installation

pip install spotmate

IMPORTANT - Before you use the package, you'll need to do the following:

  • Login to Spotify Developers Website with your spotify account. Go to user dashboard and create an new app. Fill in the required details, Redirect URIs as: http://127.0.0.1:8888/callback , and check the Web API checkbox and save.

  • After creating the app, click in the app and go to Settings. From here copy your Client ID and Client Secret. These will be needed for authentication.

spotmate --transfer --playlist "<playlist_name>"

Run Project Locally

Clone the project

  git clone https://github.com/riAssinstAr/Spot-Mate.git Spotmate

Go to the project directory

  cd Spotmate

Install dependencies

  pip install setuptools spotipy pytest build twine

Build the project

  python -m build

Acknowledgements

FAQ

  • If the package doesn't work as intended or if you'd like to request a new feature to be added, please feel to contact me.

  • The main reason for creating this script is to be able to download songs from the Liked Songs since it does not come with a sharing link related to it. The package adds all the songs in users Liked playlist to a new playlist with the name 'Transfer' being the default name. After that the users can use the sharing link of this new playlist to download songs from third-party applications like Spotify Downloader.

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

spotmate-0.1.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spotmate-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file spotmate-0.1.0.tar.gz.

File metadata

  • Download URL: spotmate-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for spotmate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8d3c69bb93aaa10beee8400ef604ebb664c0cbd728029b4f306f2f2c35fe4660
MD5 6cb09a64aa95a2c36109430bfb5531ae
BLAKE2b-256 4e321215b81a541db4ec315a82f9190387c8538d2a5e1dd33296df9114d17704

See more details on using hashes here.

File details

Details for the file spotmate-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: spotmate-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for spotmate-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d60f18c82fc8e1050be5308c81a92558f467f87b9e2bffda89ad811b1268b347
MD5 3aae6fefbbf054c7ca3d47f036ab9990
BLAKE2b-256 4b3ac0e9d62c9073d48330948d9155db9305977fa79a1f6700438006551b60e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page