diff --git a/beetsplug/info.py b/beetsplug/info.py index be6020b63..590512f4a 100644 --- a/beetsplug/info.py +++ b/beetsplug/info.py @@ -75,7 +75,8 @@ def print_tag_info(lib, args, summarize=False): try: data = tag_data(path) except mediafile.UnreadableFileError: - ui.print_('cannot read file: {0}'.format(displayable_path(path))) + ui.print_('cannot read file: {0}' + .format(displayable_path(path))) else: print_data(path, data) first = False diff --git a/docs/changelog.rst b/docs/changelog.rst index 84a644c13..c2629d2f1 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -7,6 +7,7 @@ Changelog This release adds **sorting** to beets queries. See :ref:`query-sort`. Features: + * :doc:`/plugins/info`: Files can be specified through library queries and the `--library` option prints library fields instead of tags. Tags and library fields can be summarized with `--summarize` option. diff --git a/test/test_info.py b/test/test_info.py index e9db2c689..9c641e501 100644 --- a/test/test_info.py +++ b/test/test_info.py @@ -12,8 +12,6 @@ # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. -import os -import os.path from _common import unittest from helper import TestHelper