mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
Merge pull request #3764 from ctrueden/log-ignore-hits
In verbose mode, log when files are ignored
This commit is contained in:
commit
a22e14f5ca
2 changed files with 6 additions and 0 deletions
|
|
@ -197,6 +197,10 @@ def sorted_walk(path, ignore=(), ignore_hidden=False, logger=None):
|
|||
skip = False
|
||||
for pat in ignore:
|
||||
if fnmatch.fnmatch(base, pat):
|
||||
if logger:
|
||||
logger.debug(u'ignoring {0} due to ignore rule {1}'.format(
|
||||
base, pat
|
||||
))
|
||||
skip = True
|
||||
break
|
||||
if skip:
|
||||
|
|
|
|||
|
|
@ -204,6 +204,8 @@ Fixes:
|
|||
wiping out their beets database.
|
||||
Thanks to user: `logan-arens`.
|
||||
:bug:`1934`
|
||||
* ``beet import`` now logs which files are ignored when in debug mode.
|
||||
:bug:`3764`
|
||||
* :doc:`/plugins/bpd`: Fix the transition to next track when in consume mode.
|
||||
Thanks to :user:`aereaux`.
|
||||
:bug:`3437`
|
||||
|
|
|
|||
Loading…
Reference in a new issue