Logging: add message about the pattern being tried

This commit is contained in:
Vrihub 2024-06-15 20:56:40 +02:00
parent b5216a06f4
commit 09660426a8

View file

@ -162,6 +162,7 @@ class FromFilenamePlugin(plugins.BeetsPlugin):
# Look for useful information in the filenames. # Look for useful information in the filenames.
for pattern in PATTERNS: for pattern in PATTERNS:
self._log.debug("Trying pattern: {}".format(pattern))
d = all_matches(names, pattern) d = all_matches(names, pattern)
if d: if d:
apply_matches(d, self._log) apply_matches(d, self._log)