mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
"invalid MBID" messages are now debug logs (#616)
This commit is contained in:
parent
ca6653fde8
commit
6989d77a7a
2 changed files with 6 additions and 2 deletions
|
|
@ -358,7 +358,7 @@ def album_for_id(releaseid):
|
|||
"""
|
||||
albumid = _parse_id(releaseid)
|
||||
if not albumid:
|
||||
log.error('Invalid MBID (%s).' % (releaseid))
|
||||
log.debug('Invalid MBID (%s).' % (releaseid))
|
||||
return
|
||||
try:
|
||||
res = musicbrainzngs.get_release_by_id(albumid,
|
||||
|
|
@ -377,7 +377,7 @@ def track_for_id(releaseid):
|
|||
"""
|
||||
trackid = _parse_id(releaseid)
|
||||
if not trackid:
|
||||
log.error('Invalid MBID (%s).' % (releaseid))
|
||||
log.debug('Invalid MBID (%s).' % (releaseid))
|
||||
return
|
||||
try:
|
||||
res = musicbrainzngs.get_recording_by_id(trackid, TRACK_INCLUDES)
|
||||
|
|
|
|||
|
|
@ -23,6 +23,10 @@ Fixes:
|
|||
* The importer now logs a message instead of crashing when errors occur while
|
||||
opening the files to be imported.
|
||||
* :doc:`/plugins/embedart`: Better error messages in exceptional conditions.
|
||||
* Silenced some confusing error messages when searching for a non-MusicBrainz
|
||||
ID. Using an invalid ID (of any kind---Discogs IDs can be used there too) at
|
||||
the "Enter ID:" importer prompt now just silently returns no results. More
|
||||
info is in the verbose logs.
|
||||
|
||||
.. _enum34: https://pypi.python.org/pypi/enum34
|
||||
.. _enum: https://docs.python.org/3.4/library/enum.html
|
||||
|
|
|
|||
Loading…
Reference in a new issue