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
- 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
- Ensure playlist-mixer is installed successfully
playlist-mixer version
- 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
- 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.
- 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.
- 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
Metadata
Release files for playlist-mixer 0.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| playlist_mixer-0.13.0.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| playlist_mixer-0.13.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / playlist_mixer-0.13.0.tar.gz
| Download URL | playlist_mixer-0.13.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43ae0075a52732d1b89f9af3fa5b010aa4f35647136e75ced1b01d0652d41caf
|
|
BLAKE2b-256 checksum How to use checksums |
20252239099381c6a5239522c487cec588a4e5241264991e12d2b008dd000cdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.
Transparency logRelease files / playlist_mixer-0.13.0-py3-none-any.whl
| Download URL | playlist_mixer-0.13.0-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ebea3a04a38910b86fa56811e9ac3609965a878dd0d9c72fbe67d25ce4fa2a4b
|
|
BLAKE2b-256 checksum How to use checksums |
306774e64f7f131152599ce529acb42e52898adcd803b5d8cbdd749060b3898f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.
Transparency log