Skip to content

Commit

Permalink
Logging: add message about the pattern being tried
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrihub committed Jun 15, 2024
1 parent b5216a0 commit 0966042
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions beetsplug/fromfilename.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ def filename_task(self, task, session):

# Look for useful information in the filenames.
for pattern in PATTERNS:
self._log.debug("Trying pattern: {}".format(pattern))
d = all_matches(names, pattern)
if d:
apply_matches(d, self._log)

0 comments on commit 0966042

Please sign in to comment.