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.
Shuffle¶
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 localsearch tracks | cpe shuffle --count 10
Select¶
Calliope supports using constraint satisfaction to generate playlists. This is
done with the calliope.select.select() function or cpe select command.
Diff¶
You can compare two playlists using calliope.diff. This is used in the example
Music which you’ve never listened to.