Skip to content

A Python script to sort Spotify albums by color of their album art, uses CCV's, Caching, and Multithreading

License

Notifications You must be signed in to change notification settings

Benny-Nottonson/spotifySort

Repository files navigation

Spotify Album Sorter

GitHub Python Version

This project, coded by Benny Nottonson using Python, implements LRU Caching and CCV Vectors for sorting images.

Acknowledgements

Features

  • Allows selection of playlist
  • Works for public and private playlists
  • Runtime generally <= 5s
  • Scalable for large playlists

Usage/Examples

# Inside ./playlist_utils
# This can be created at https://developer.spotify.com/dashboard/applications
sp = spotipy.Spotify(auth_manager=SpotifyOAuth(client_id="########################",
                                               client_secret="#########################",
                                               redirect_uri="http://example.com",
                                               scope="user-library-modify playlist-modify-public ugc-image-upload playlist-modify-private user-library-read"))

Getting Started

Follow the steps below to get started with the Spotify Album Sorter:

  1. Clone the repository:

    git clone https://github.com/benny-nottonson/spotifySort.git
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Run the program:

    python main.py

Contributing

Contributions are welcome! If you find any bugs or want to enhance the project, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

About

A Python script to sort Spotify albums by color of their album art, uses CCV's, Caching, and Multithreading

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages