beets/beets
Adrian Sampson 91ad913399 #62: simplify list (and random) code
With the new centralized print_obj function, we can greatly simplify the code
for the list command. This necessitated a couple of additional tweaks:

- For performance reasons, print_obj can now take a compiled template. (There's
  still an issue with using the default/configured template, but we can cross
  that bridge later).
- When listing albums, $path now expands to the album's item dir. So the format
  string '$path' now exactly corresponds to passing the -p switch.

As an added bonus, we can now also reduce copypasta in the random plugin (which
behaves almost exactly the same as list).
2012-10-20 21:10:39 -07:00
..
autotag scrub: remove all types of tags 2012-08-24 15:39:13 -07:00
ui #62: simplify list (and random) code 2012-10-20 21:10:39 -07:00
util Fix inconsistent three-space indentation 2012-10-20 21:45:14 +06:00
__init__.py fetchart: fix extension-less files from CAA 2012-08-02 09:46:57 -07:00
importer.py fix for plugins not modifying files' tags 2012-09-02 16:00:18 -07:00
library.py #62: simplify list (and random) code 2012-10-20 21:10:39 -07:00
mediafile.py fix "beet modify" for date fields (GC-449) 2012-10-14 20:27:13 -07:00
plugins.py only load plugins from specified modules 2012-10-12 21:55:54 -07:00
vfs.py The Great Trailing Whitespace Purge of 2012 2012-05-13 20:22:17 -07:00