diff --git a/NEWS b/NEWS index d87bf6786..f98de31de 100644 --- a/NEWS +++ b/NEWS @@ -37,6 +37,7 @@ * A new "import_quiet_fallback" option specifies what should happen in quiet mode when there is no strong recommendation. The options are "skip" (the default) and "asis". +* The "version" command now lists all the loaded plugins. * Fix a bug where some files would be erroneously interpreted as MP4. * Fix permission bits applied to album art files. * Fix malformed MusicBrainz queries caused by null characters. diff --git a/beets/ui/commands.py b/beets/ui/commands.py index 3295685f6..57abf297b 100644 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -804,6 +804,15 @@ default_commands.append(stats_cmd) def show_version(lib, config, opts, args): print 'beets version %s' % beets.__version__ + # Show plugins. + names = [] + for plugin in plugins.find_plugins(): + modname = plugin.__module__ + names.append(modname.split('.')[-1]) + if names: + print 'plugins:', ', '.join(names) + else: + print 'no plugins loaded' version_cmd = ui.Subcommand('version', help='output version information') version_cmd.func = show_version