mirror of
https://github.com/beetbox/beets.git
synced 2026-02-22 15:22:42 +01:00
Fix #2351: crash in scrub on MediaFile errors
This commit is contained in:
parent
24d43635cd
commit
413666a825
2 changed files with 3 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ class ScrubPlugin(BeetsPlugin):
|
|||
except mediafile.UnreadableFileError as exc:
|
||||
self._log.error(u'could not open file to scrub: {0}',
|
||||
exc)
|
||||
return
|
||||
art = mf.art
|
||||
|
||||
# Remove all tags.
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@ Features:
|
|||
Fixes:
|
||||
|
||||
* :doc:`/plugins/bpd`: Fix a crash on non-ASCII MPD commands. :bug:`2332`
|
||||
* :doc:`/plugins/scrub`: Avoid a crash when files cannot be read or written.
|
||||
:bug:`2351`
|
||||
|
||||
For plugin developers: new importer prompt choices (see :ref:`append_prompt_choices`), you can now provide new candidates for the user to consider.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue