blacklist commands¶
Manage artists and tracks that must never appear in discovery playlists. Entries are also created from the
follow-up questions of the rate prompts.
blacklist add-artist¶
Adds one or more artists to the blacklist.
| Argument / option | Default | Description |
|---|---|---|
artist_names |
required | Artist name(s) to blacklist. |
--email |
MUSEFLOW_CLI_DEFAULT_EMAIL |
User email address. |
Example
Output. One Blacklisted artist: <name> (id: <uuid>) line per artist.
blacklist add-track¶
Adds a single track to the blacklist.
| Argument / option | Default | Description |
|---|---|---|
name |
required | Track name. |
--artist |
required | Artist name. |
--email |
MUSEFLOW_CLI_DEFAULT_EMAIL |
User email address. |
Example
Output. Blacklisted track: <name> by <artist> (id: <uuid>).
blacklist list¶
Lists all blacklisted artists and tracks.
| Option | Default | Description |
|---|---|---|
--email |
MUSEFLOW_CLI_DEFAULT_EMAIL |
User email address. |
Output. A Your Blacklist table with ID, type, artist name and track name, or Your blacklist is empty..
The IDs are the ones expected by blacklist remove.
blacklist remove¶
Removes one or more entries by ID.
| Argument / option | Default | Description |
|---|---|---|
item_ids |
required | Blacklist entry ID(s), as shown by blacklist list. |
--email |
MUSEFLOW_CLI_DEFAULT_EMAIL |
User email address. |
Output. Removed N blacklist entry(ies)..
blacklist purge¶
Deletes the entire blacklist. This cannot be undone.
| Option | Default | Description |
|---|---|---|
--email |
MUSEFLOW_CLI_DEFAULT_EMAIL |
User email address. |
--yes, -y |
off | Skip confirmation prompt. |
Output. A confirmation prompt (unless --yes), then Deleted N blacklist entries of <email>..
blacklist export¶
Exports the blacklist to a YAML file. Entries are stored by name, so the file can be restored after a database reset, or edited by hand.
| Option | Default | Description |
|---|---|---|
--email |
MUSEFLOW_CLI_DEFAULT_EMAIL |
User email address. |
--output |
required | Path to the output YAML file. |
File format
Output. Exported N artist(s) and M track(s) to <path>.
blacklist import¶
Adds the entries of a YAML file produced by blacklist export. Entries already blacklisted (same name, whatever the
case or accents) are kept as they are and counted, so running the import twice changes nothing.
| Option | Default | Description |
|---|---|---|
--email |
MUSEFLOW_CLI_DEFAULT_EMAIL |
User email address. |
--input |
required | Path to the input YAML file. |
The import is saved as a whole: an invalid entry (empty name, track without artist) rejects the whole file.
Output. Imported N artist(s) and M track(s) (K already blacklisted)..