calliope.beets

Query the Beets music organiser.

See also: cpe beets command.

Package Contents

Functions

albums(query, include_tracks = False)

Export album data from Beets as a playlist.

artists(query)

Export artist data from Beets as a playlist.

tracks(query)

Export songs from Beets as a playlist.

calliope.beets.albums(query, include_tracks=False)

Export album data from Beets as a playlist.

Parameters
  • query (str) – A Beets query string (use . to return everything).

  • include_tracks (bool) – Expand the tracklist of each album.

Returns

A playlist containing albums or album tracks.

Return type

calliope.playlist.Playlist

calliope.beets.artists(query)

Export artist data from Beets as a playlist.

Parameters

query (str) –

A Beets query string (use . to return everything).

Returns

A playlist of items with creator set..

Return type

calliope.playlist.Playlist

calliope.beets.tracks(query)

Export songs from Beets as a playlist.

Parameters

query (str) –

A Beets query string (use . to return everything).

Returns

A playlist.

Return type

calliope.playlist.Playlist