mirror of
https://github.com/beetbox/beets.git
synced 2026-01-31 04:21:42 +01:00
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). |
||
|---|---|---|
| .. | ||
| autotag | ||
| ui | ||
| util | ||
| __init__.py | ||
| importer.py | ||
| library.py | ||
| mediafile.py | ||
| plugins.py | ||
| vfs.py | ||