Making playlists

Everything in Calliope is a playlist, but some playlists are more enjoyable than others.

Some commands in the previous section list a whole music library. The commands in this section let you create interesting playlists from those.


A simple way to add interest is to randomize the order. Use calliope.shuffle.shuffle() or cpe shuffle. This produces a list of 10 random songs from your collection:

cpe tracker tracks | cpe shuffle --count 10


Calliope supports using constraint satisfaction to generate playlists. This is done with the function or cpe select command.


You can compare two playlists using calliope.diff. This is used in the example Music which you’ve never listened to.