Commands
Compose a playlist entrypoint.
compose
Compose a playlist from a composition configuration.
You can use a YAML file to specify playlists and artists should be used, and weigh them.
Source code in chopin/cli/compose.py
compose_from_new_releases
Compose a playlist based on recent releases.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
configuration_path
|
Path
|
The composition configuration, |
Path('confs/recent.yaml')
|
Source code in chopin/cli/compose.py
Create a playlist from the queue entrypoint.
from_queue
Create a playlist and shuffle it from the user's queue.
Warning
Due to Spotify API limits, you must be playing a song on an
active device for this to work.
Warning
Due to Spotify API limits, the maximum number of songs you can
use is 20.