mirror of
https://github.com/beetbox/beets.git
synced 2026-02-24 00:02:20 +01:00
inline: fix example in docs (use albumartist)
Previously, the example used the track artist ($artist) for the initial directory component.
This commit is contained in:
parent
7aa88a762c
commit
0cab7bd8de
1 changed files with 3 additions and 3 deletions
|
|
@ -20,13 +20,13 @@ can refer to any normal attributes (such as ``artist`` or ``title``) as Python
|
|||
variables. Here are a couple of examples::
|
||||
|
||||
[pathfields]
|
||||
artist_initial: artist[0].upper() + u'.'
|
||||
initial: albumartist[0].upper() + u'.'
|
||||
disc_and_track: u'%02i.%02i' % (disc, track) if
|
||||
disctotal > 1 else u'%02i' % (track)
|
||||
|
||||
(Note that the config file's syntax allows newlines in values if the subsequent
|
||||
lines are indented.) These examples define ``$artist_initial`` and
|
||||
lines are indented.) These examples define ``$initial`` and
|
||||
``$disc_and_track`` fields that can be referenced in path templates like so::
|
||||
|
||||
[paths]
|
||||
default: $artist_initial/$artist/$album/$disc_and_track $title
|
||||
default: $initial/$artist/$album%aunique{}/$disc_and_track $title
|
||||
|
|
|
|||
Loading…
Reference in a new issue