Skip to content
Documentation
Project

CLI — Commands

countries — Summarize artists by their MusicBrainz origin

Summarize artists by their MusicBrainz origin.

countries groups artists by their MusicBrainz country/area origin, with catalog-related counts. It requires held artist evidence and never infers origin from a name or filename. Fetch artist metadata first. Sort by name/title, albums, tracks, duration/length or size; the albums key follows the implementation’s artist-count ordering for this origin summary.

This plural command takes no positional entity name. Use the singular/detail command to open one item rather than appending a name to the list. The displayed order is deterministic. Where pagination is offered, --offset counts skipped rows from zero, --limit must be positive and --all cannot be combined with --limit. CSV/JSON exports contain the filtered, paged result shown, not automatically the whole library. Add --all when supported for a complete export. The listing is read-only.

Syntax and arguments#

aede countries

No positional arguments. Use the filters listed below.

Options for this command#

OptionMeaning
--csvWrite a CSV table of this command’s result, suitable for a spreadsheet; mutually exclusive with other output formats.
--output FILE / -o FILEWrite an export to FILE instead of standard output. A selection needs --csv, --json or --m3u; command-specific exports have their own rules.
--limit NShow at most N rows; use a positive whole number. Default limits depend on the page, usually 50.
--offset NSkip N rows before showing the result; N starts at 0. Ordering remains deterministic.
--allShow every row. Refused with --limit. Some commands also use it to include normally hidden categories, explained below.
--json / -jWrite this command’s structured JSON result. With analyze, save report files instead of changing terminal output.
--separator ";" / --separator tabWith --csv only: use comma by default, a one-character separator such as ;, or tab for tab-separated text. Quote ; in a shell.
--sort ORDERChoose a supported column; append - for descending order, for example duration-. Supported values for this command are listed below.

The shared options reference explains --data, --no-color, --help/-h, --version/-v/-V, option values and output/pagination rules. These shared presentation/data options do not make every command support CSV/JSON or pagination.

Examples#

aede countries
aede artists --country "United Kingdom"
aede countries --json --output countries.json

Result and errors#

Output describes the selected operation or catalog data. Read any per-item warnings and retained-work summary; a completed process is not an independent integrity or audio-quality guarantee. Invalid command syntax/options normally exit with code 2; handler failures normally exit with code 1. Local interruption differs from a delegated server task, as explained in cancel.

artists, query.

Detailed existing guide: browsing.md.