mirror of
https://github.com/beetbox/beets.git
synced 2025-12-14 20:43:41 +01:00
An earlier change (due to @pedros) added the ability for plugins to define template fields that work with Albums as well as Items. This enables some cool new use cases but required that every template field definition check the type of its arguments. Instead, this iteration on the idea distinguishes between fields meant for Items and those meant for Albums. In addition to simplifying the implementation of these functions, this also enables the creation of album fields with identical names to item fields. (For example, a user contacted me recently about adding a $bitrate field for albums, which would be the average bitrate of the items. They can do this now using a plugin.) I also changed the docs to stop using the decorator approach to registering template fields. We're moving toward removing those. |
||
|---|---|---|
| .. | ||
| beetsweb.png | ||
| bpd.rst | ||
| chroma.rst | ||
| convert.rst | ||
| discogs.rst | ||
| duplicates.rst | ||
| echonest_tempo.rst | ||
| embedart.rst | ||
| fetchart.rst | ||
| fuzzy.rst | ||
| ihate.rst | ||
| importfeeds.rst | ||
| index.rst | ||
| info.rst | ||
| inline.rst | ||
| lastgenre.rst | ||
| lyrics.rst | ||
| mbcollection.rst | ||
| mbsync.rst | ||
| missing.rst | ||
| mpdupdate.rst | ||
| random.rst | ||
| replaygain.rst | ||
| rewrite.rst | ||
| scrub.rst | ||
| smartplaylist.rst | ||
| the.rst | ||
| web.rst | ||
| writing.rst | ||
| zero.rst | ||