Skip to main content

Playlist Mixer for Spotify

Project description

Playlist Mixer for Spotify

Playlist Mixer is a CLI tool for Spotify to achieve true randomness. Because bultin shuffle is not really random. It works by using existing playlists to update other ones. Tracks ary randomly added to the playlist, which is designed to be played without shuffle/smart shuffle enabled.

Install

  1. Install playlist-mixer from pypi. Its recommended to use pipx instead of pip, to prevent any dependency conflicts.
# pipx
pipx install playlist-mixer

# pip
pip install playlist-mixer
  1. Ensure playlist-mixer is installed successfully
playlist-mixer version
  1. Create a new Spotify App in Spotify Developer Dashboard
  • App name: choose for yourself
  • App description: choose for yourself
  • Redirect URIs: http://localhost:8000
  • APIs intended to use: Web API

Usage

  1. Login with your Spotify account and App. You need to login only once, credentials are persisted in your home folder. You need the following information:
  • App ID (see Spotify Developer Dashboard)
  • App Secret (see Spotify Developer Dashboard)
  • Redirect URL: http://localhost:8000
playlist-mixer login

A browser will open and allow you to Login with your Spotify Account.

  1. Create a playlist. This playlist will be filled with your tracks in a random order. Create it and setup your privacy, title etc.

After creating the playlist, copy a link to the playlist (share > link). This link is used as a playlist target.

  1. Mix playlists
# Use a playlist as source, and mix all tracks in another playlist
playlist-mixer mix --source <source-playlist> --playlist <target-playlist>

# A source/playlist can be either a link to a playlist
# https://open.spotify.com/playlist/playlistid
# or a URI to playlist
# spotify:playlist:playlistid

# Mix a playlist with multiple sources
playlist-mixer mix --source <source-playlist> --source <source-playlist> --playlist <target-playlist>

# Focus on the last x days. Focussing means, that tracks that were added in the last x days, are on top of the mixed playlist.
playlist-mixer mix --source <source-playlist> --playlist <target-playlist> --focus 10

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

playlist_mixer-0.12.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

playlist_mixer-0.12.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file playlist_mixer-0.12.0.tar.gz.

File metadata

  • Download URL: playlist_mixer-0.12.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for playlist_mixer-0.12.0.tar.gz
Algorithm Hash digest
SHA256 f41b15022a512e2e995144770f9555db21a72fc7a4a42c317772ddbc914d7c6e
MD5 ebe44cd663a611c320434ec9136a684e
BLAKE2b-256 4d0b5f54b61e48d35edaa9d81fc874a09a3db2348379a1637e26db9a947cc13b

See more details on using hashes here.

Provenance

The following attestation bundles were made for playlist_mixer-0.12.0.tar.gz:

Publisher: python-publish.yml on jan-di/playlist-mixer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file playlist_mixer-0.12.0-py3-none-any.whl.

File metadata

File hashes

Hashes for playlist_mixer-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf1fd01d2d131cec82253371a2d48a5a524106f282944bbe6c51ade8bed3302e
MD5 5141d1778e812cfc730dd9831e3e6c01
BLAKE2b-256 11ddc8f9619b2f2f6ead26197cefb40d159db58631a9a57f50a2123fb1275585

See more details on using hashes here.

Provenance

The following attestation bundles were made for playlist_mixer-0.12.0-py3-none-any.whl:

Publisher: python-publish.yml on jan-di/playlist-mixer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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