Plugin problems, discogs


#1

Hello everyone,
I’ve recently started to tag my music library with beets.
Everything was going well until I noticed that quite a number of my albums are not present in the MusicBrainz database. Because of this I decided to make use of the discogs plugin.

I have installed the plugin accordingly (discogs-client is installed in version 2.2.1 via pip) and enabled it in the config.

After the first run, I was asked to link with my discogs account, which I did successfully.

For some reason, however, the discogs database is not queried during import. Beets behaves as if the plugin was not installed and only matches against MusicBrainz. No errors are displayed and the plugin shows up in beet version.

Am I missing something?

I’m using Windows 8.1
Version:

beets version 1.4.3
Python version 3.6.0
plugins: chroma, discogs

Config:

plugins: discogs chroma
chroma:
    auto: no

match:
    strong_rec_thresh: 0.1
    ignored: missing_tracks unmatched_tracks

import:
    move: yes
    none_rec_action: skip
    log: I:\data\log.log
directory: I:\Music
library: I:\data\musiclibrary.db
discogs:
    apikey: REDACTED
    apisecret: REDACTED
    tokenfile: discogs_token.json
    source_weight: 0.5

#2

Hmm… is there anything interesting in the verbose log?


#3

Everything seems to be in order in the verbose log. However the plugin paths appear to be empty.
Am I supposed to set it in the config?

beet -vv import I:\Music_u

user configuration: C:\Users\bodo\AppData\Roaming\beets\config.yaml
data directory: C:\Users\bodo\AppData\Roaming\beets
plugin paths:
Sending event: pluginload
library database: I:\data\musiclibrary.db
library directory: I:\Music
Sending event: library_opened
Sending event: import_begin

#4

Ok, I have located the “beetsplug” folder and added it to the config:

pluginpath: C:\Users\bodo\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\beetsplug

still having problems. Specifically with this album:


MusicBrainz is aware of the artist, but not of the album. No matches are found

user configuration: C:\Users\bodo\AppData\Roaming\beets\config.yaml
data directory: C:\Users\bodo\AppData\Roaming\beets
plugin paths: C:\Users\bodo\AppData\Local\Programs\Python\Python36-32\Lib\site-p
ackages\beetsplug
Sending event: pluginload
library database: I:\data\musiclibrary.db
library directory: I:\Music
Sending event: library_opened
Sending event: import_begin
Sending event: import_task_created
Sending event: import_task_start
Looking up: I:\Music_u\Keep\Apples in Space
Tagging Apples in Space - Apples in Space
No album ID found.
Search terms: Apples in Space - Apples in Space
Album might be VA: False
Sending event: albuminfo_received
Candidate: Arc vs. Tiny Objects in Space - Arc vs. Tiny Objects in Space
Success. Distance: 0.73
Sending event: albuminfo_received
Candidate: Silver Apples - Silver Apples
Success. Distance: 0.66
Sending event: albuminfo_received
Candidate: Apples for Everyone - Apples for Everyone
Success. Distance: 0.61
Sending event: albuminfo_received
Candidate: The Apples in Stereo - Travellers in Space and Time
Ignored. Penalty: missing_tracks
Sending event: albuminfo_received
Candidate: The Apples in Stereo - Travellers in Space and Time
Ignored. Penalty: missing_tracks
Sending event: albuminfo_received
Candidate: The Apples In Stereo - Travellers In Space And Time
Ignored. Penalty: missing_tracks
Sending event: albuminfo_received
Candidate: The Apples In Stereo - Travellers In Space And Time
Ignored. Penalty: missing_tracks
Sending event: albuminfo_received
Candidate: Silver Apples / Windy & Carl - I Have Known Love / Crazy In The Sun
Ignored. Penalty: unmatched_tracks
Sending event: albuminfo_received
Candidate: Spectrum & Silver Apples - A Lake Of Teardrops
Ignored. Penalty: unmatched_tracks
Sending event: albuminfo_received
Candidate: Various Artists - Future Vintage: Covers Of The Apples In Stereo
Ignored. Penalty: unmatched_tracks
chroma: acoustid album candidates: 0
Evaluating 3 candidates.

#5

Right; there’s no need to extend the plugin path when you’re using plugins that come with beets.

Have you tried entering a discogs ID (i.e., URL) manually?


#6

Interestingly, beets has no trouble matching a manually entered ID to discogs. So the ID lookup works, but not a search by name.

user configuration: C:\Users\bodo\AppData\Roaming\beets\config.yaml
data directory: C:\Users\bodo\AppData\Roaming\beets
plugin paths: C:\Users\bodo\AppData\Local\Programs\Python\Python36-32\Lib\site-packages\beetsplug
Sending event: pluginload
library database: I:\data\musiclibrary.db
library directory: I:\Music
Sending event: library_opened
Sending event: import_begin
Sending event: import_task_created
Sending event: import_task_start
chroma: chroma: fingerprinted b'I:\\Music_u\\Keep\\Apples in Space\\FAREWELL, LITTLE WORLD.flac'
chroma: no recordings found
chroma: chroma: fingerprinted b'I:\\Music_u\\Keep\\Apples in Space\\I WAS THE MOON.flac'
chroma: no recordings found
chroma: chroma: fingerprinted b"I:\\Music_u\\Keep\\Apples in Space\\JOHANNA'S WALTZ.flac"
chroma: no recordings found
chroma: chroma: fingerprinted b'I:\\Music_u\\Keep\\Apples in Space\\MY LOVE IS A BULLET.flac'
chroma: no recordings found
chroma: chroma: fingerprinted b"I:\\Music_u\\Keep\\Apples in Space\\OPHELIA'S SONG.flac"
chroma: no recordings found
chroma: chroma: fingerprinted b'I:\\Music_u\\Keep\\Apples in Space\\PAPER TOWN.flac'
chroma: no recordings found
chroma: chroma: fingerprinted b'I:\\Music_u\\Keep\\Apples in Space\\THE HOUSE IS EMPTY NOW.flac'
chroma: no recordings found
chroma: chroma: fingerprinted b'I:\\Music_u\\Keep\\Apples in Space\\THE NEVER READ LETTER.flac'
chroma: no recordings found
chroma: chroma: fingerprinted b'I:\\Music_u\\Keep\\Apples in Space\\THE OLD MAN & THE COUNTRY.flac'
chroma: no recordings found
chroma: chroma: fingerprinted b'I:\\Music_u\\Keep\\Apples in Space\\VESPA.flac'
chroma: no recordings found
Looking up: I:\Music_u\Keep\Apples in Space
Tagging Apples in Space - Apples in Space
No album ID found.
Search terms: Apples in Space - Apples in Space
Album might be VA: False
Sending event: albuminfo_received
Candidate: Arc vs. Tiny Objects in Space - Arc vs. Tiny Objects in Space
Success. Distance: 0.73
Sending event: albuminfo_received
Candidate: Silver Apples - Silver Apples
Success. Distance: 0.66
Sending event: albuminfo_received
Candidate: Apples for Everyone - Apples for Everyone
Success. Distance: 0.61
Sending event: albuminfo_received
Candidate: The Apples in Stereo - Travellers in Space and Time
Ignored. Penalty: missing_tracks
Sending event: albuminfo_received
Candidate: The Apples in Stereo - Travellers in Space and Time
Ignored. Penalty: missing_tracks
Sending event: albuminfo_received
Candidate: The Apples In Stereo - Travellers In Space And Time
Ignored. Penalty: missing_tracks
Sending event: albuminfo_received
Candidate: The Apples In Stereo - Travellers In Space And Time
Ignored. Penalty: missing_tracks
Sending event: albuminfo_received
Candidate: Silver Apples / Windy & Carl - I Have Known Love / Crazy In The Sun
Ignored. Penalty: unmatched_tracks
Sending event: albuminfo_received
Candidate: Spectrum & Silver Apples - A Lake Of Teardrops
Ignored. Penalty: unmatched_tracks
Sending event: albuminfo_received
Candidate: Various Artists - Future Vintage: Covers Of The Apples In Stereo
Ignored. Penalty: unmatched_tracks
chroma: acoustid album candidates: 0
Evaluating 3 candidates.

I:\Music_u\Keep\Apples in Space (10 items)
Sending event: before_choose_candidate
Finding tags for album "Apples in Space - Apples in Space".
Candidates:
1. Apples for Everyone - Apples for Everyone (38.9%) (tracks, album, artist) (CD, GB)
2. Silver Apples - Silver Apples (34.0%) (tracks, album, artist, ...) (CD, 1997, US, Whirlybird Records, remaster from t
he 1968 vinyl)
3. Arc vs. Tiny Objects in Space - Arc vs. Tiny Objects in Space (27.2%) (tracks, album, artist, ...) (CD, 1997, US, 12k
)
# selection (default 1), Skip, Use as-is, as Tracks, Group albums,
Enter search, enter Id, aBort? i
Enter release ID: 7893427
Tagging Apples in Space - Apples in Space
Searching for album ID: 7893427
Invalid MBID (7893427).
discogs: Searching for release 7893427
Sending event: albuminfo_received
Candidate: Apples In Space - Apples In Space
Success. Distance: 0.07
Evaluating 1 candidates.

#7

Interesting. This reminds me of some other problems we’ve had with the Discogs API—sometimes, their search API doesn’t find releases that seem intuitively like obvious matches.

I also notice that you have some ignore settings turned on. Have you tried paring down your configuration to see if that has any effect?