sampsyo/beets — pull request #274 by pedros (2013-05-15 12:11:53+00:00)
Title: Perform template field substitution on albums

- adds another traversal through all plugins' template_fields for each
'evaluate_template' call.
- requires the following idiom (or equivalent):

@Plugin.template_field(field')
def _tmpl_field(album):
"""Return stuff.
"""
if isinstance(album, Album):
return stuff