mirror of
https://github.com/beetbox/beets.git
synced 2026-01-08 17:08:12 +01:00
call truncate, not convert, when truncating
This commit is contained in:
parent
cf2f78ef55
commit
8aec50ff8c
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ class EchonestMetadataPlugin(plugins.BeetsPlugin):
|
|||
|
||||
if os.stat(item.path).st_size > UPLOAD_MAX_SIZE:
|
||||
if config['echonest']['truncate']:
|
||||
source = self.convert(item)
|
||||
source = self.truncate(item)
|
||||
if not source:
|
||||
log.debug(u'echonest: failed to truncate file')
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue