Random PluginΒΆ

The random plugin provides a command that randomly selects tracks or albums from your library. This can be helpful if you need some help deciding what to listen to.

First, enable the plugin named random (see Plugins). You’ll then be able to use the beet random command:

$ beet random
Aesop Rock - None Shall Pass - The Harbor Is Yours

The command has several options that resemble those for the beet list command (see Command-Line Interface). To choose an album instead of a single track, use -a; to print paths to items instead of metadata, use -p; and to use a custom format for printing, use -f FORMAT.

The -n NUMBER option controls the number of objects that are selected and printed (default 1). To select 5 tracks from your library, type beet random -n5.

Project Versions

Previous topic

Rewrite Plugin

Next topic

MusicBrainz Collection Plugin

This Page