mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 03:22:39 +01:00
Merge pull request #4227 from JOJ0/discogs_skip_untagged
discogs: Skip Discogs query on insufficiently tagged files
This commit is contained in:
commit
28ceda112d
3 changed files with 11 additions and 2 deletions
|
|
@ -157,6 +157,11 @@ class DiscogsPlugin(BeetsPlugin):
|
|||
if not self.discogs_client:
|
||||
return
|
||||
|
||||
if not album and not artist:
|
||||
self._log.debug('Skipping Discogs query. Files missing album and '
|
||||
'artist tags.')
|
||||
return []
|
||||
|
||||
if va_likely:
|
||||
query = album
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ Bug fixes:
|
|||
* :doc:`/plugins/unimported`: The new ``ignore_subdirectories`` configuration
|
||||
option added in 1.6.0 now has a default value if it hasn't been set.
|
||||
* :doc:`/plugins/deezer`: Tolerate missing fields when searching for singleton
|
||||
tracks
|
||||
tracks.
|
||||
:bug:`4116`
|
||||
* :doc:`/plugins/replaygain`: The type of the internal ``r128_track_gain`` and
|
||||
``r128_album_gain`` fields was changed from integer to float to fix loss of
|
||||
|
|
@ -35,6 +35,9 @@ Bug fixes:
|
|||
* :doc:`plugins/web`: Fix handling of "query" requests. Previously queries
|
||||
consisting of more than one token (separated by a slash) always returned an
|
||||
empty result.
|
||||
* :doc:`/plugins/discogs`: Skip Discogs query on insufficiently tagged files
|
||||
(artist and album tags missing) to prevent arbitrary candidate results.
|
||||
:bug:`4227`
|
||||
* :doc:`plugins/lyrics`: Fixed issues with the Tekstowo.pl and Genius
|
||||
backends where some non-lyrics content got included in the lyrics
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@ authentication credentials via a personal access token or an OAuth2
|
|||
authorization.
|
||||
|
||||
Matches from Discogs will now show up during import alongside matches from
|
||||
MusicBrainz.
|
||||
MusicBrainz. The search terms sent to the Discogs API are based on the artist
|
||||
and album tags of your tracks. If those are empty no query will be issued.
|
||||
|
||||
If you have a Discogs ID for an album you want to tag, you can also enter it
|
||||
at the "enter Id" prompt in the importer.
|
||||
|
|
|
|||
Loading…
Reference in a new issue