mirror of
https://github.com/beetbox/beets.git
synced 2026-01-30 03:54:21 +01:00
duplicates: Fix #999 (check "checksum" type)
This commit is contained in:
parent
61e43787d2
commit
0749d4716c
2 changed files with 6 additions and 0 deletions
|
|
@ -209,6 +209,10 @@ class DuplicatesPlugin(BeetsPlugin):
|
|||
fmt += ': {0}'
|
||||
|
||||
if checksum:
|
||||
if not isinstance(checksum, basestring):
|
||||
raise UserError(
|
||||
'duplicates: "checksum" option must be a command'
|
||||
)
|
||||
for i in items:
|
||||
k, _ = _checksum(i, checksum)
|
||||
keys = [k]
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@ Fixes:
|
|||
beets and instead fail silently.
|
||||
* Slow queries, such as those over flexible attributes, should now be much
|
||||
faster when used with certain commands---notably, the :doc:`/plugins/play`.
|
||||
* :doc:`/plugins/duplicates`: Emit an error when the ``checksum`` config
|
||||
option is set incorrectly.
|
||||
|
||||
|
||||
1.3.8 (September 17, 2014)
|
||||
|
|
|
|||
Loading…
Reference in a new issue