rate commands¶
Give tracks a score from 0 to 10. Scores are an explicit preference signal: they feed taste build --rated-only,
the --score-min / --score-max / --sort score options of playlist history,
the stats commands, and the blacklist prompts.
Both interactive commands (history and playlist) behave the same way. For each track the prompt is:
| Input | Effect |
|---|---|
0 to 10 |
Saves the score. |
s (default, or Enter) |
Skips the track for now; it will be proposed again later. |
u (rate history only) |
Permanently skips the track: it will not be proposed again. |
When the score is at or below the blacklist threshold (setting DISCOVERY_BLACKLIST_SCORE_THRESHOLD, default
3), two follow-up questions offer to blacklist the track and its artist (see
blacklist). Each answer is saved as soon as it is given: stopping the session (Ctrl+C) keeps
what was already rated.
rate history¶
Interactively rates unrated history tracks, ordered by play count (most played first).
| Option | Default | Description |
|---|---|---|
--email |
MUSEFLOW_CLI_DEFAULT_EMAIL |
User email address. |
--limit |
10 |
Maximum number of tracks to rate. |
--reset |
off | Clear all existing history track scores before rating. |
--play |
off | Play each track before rating. |
--play-provider |
spotify |
Provider to use for playback. Requires --play (an error otherwise). |
--artist |
none | Filter by primary artist (case-insensitive). |
Prerequisites. Imported history. For --play, a connected Spotify account and an active Spotify device
(the desktop or mobile app open, or a web player). When no device is found, the command warns and retries; if
the device is still unavailable it stops the session. The Spotify Android app (seen with 9.1.94) may stop the current
song without starting the track; the web player and the desktop app play it.
Example
Output. The prompts above, then Saved N rating(s). X track(s) and Y artist(s) blacklisted. Z track(s)
permanently skipped., or No unrated history tracks.. With --reset, a confirmation is asked first and the
number of cleared scores is printed.
rate playlist¶
Interactively rates the tracks of a discovery playlist, or, when no playlist is given, the queue of all unrated discovery tracks.
| Argument / option | Default | Description |
|---|---|---|
playlist_id |
none | Playlist UUID to rate. |
--email |
MUSEFLOW_CLI_DEFAULT_EMAIL |
User email address. |
--limit |
20 |
Max unrated tracks to show (queue mode only). |
--play |
off | Play each track before rating. |
--play-provider |
spotify |
Provider to use for playback. Requires --play (an error otherwise). |
Examples
Output. Same prompts and summary as rate history, or No unrated discovery tracks..
rate export¶
Exports ratings (and permanent skips) to a YAML file. Tracks are identified by fingerprint, so the file can be restored after a database reset. Each entry also holds what recreates its track (name, artists, album, source, provider links): a discovered track never played comes back on import, even though the streaming history lacks it.
| Option | Default | Description |
|---|---|---|
--email |
MUSEFLOW_CLI_DEFAULT_EMAIL |
User email address. |
--output |
required | Path to the output YAML file. |
Output. Exported N rated track(s) and M permanently skipped track(s) to <path>.
rate import¶
Restores ratings from a YAML file produced by rate export.
| Option | Default | Description |
|---|---|---|
--email |
MUSEFLOW_CLI_DEFAULT_EMAIL |
User email address. |
--input |
required | Path to the input YAML file. |
A track missing from the library is recreated from its entry, so import the history first: a track it brings back keeps its plays. An entry from an older export, holding only the fingerprint, rates only a track already there.
Output. Imported N score(s) and M permanent skip(s), recreated C missing track(s) (K fingerprints not found in
DB)..