Closed simonbcn closed 9 years ago
Thanks for the report. Can you please include full bug-report details (version, verbose log, command, etc.)?
beets git version
beets version 1.3.16
plugins: badfiles, convert, discogs, duplicates, fetchart, info, lastgenre, replaygain, scrub, zero
$ beet config
paths:
default: $albumartist/$album/$track - $title
singleton: $artist - $title
comp: Varios/$album/$track - $title
convert:
auto: yes
tmpdir: /tmp
command: ffmpeg -i $source -y -codec:a libmp3lame -vn -qscale:a 1 $dest
extension: mp3
embed: yes
quiet: yes
threads: 7
never_convert_lossy_files: yes
format: mp3
dest:
copy_album_art: no
max_bitrate: 500
paths: {}
pretend: no
formats:
alac:
command: ffmpeg -i $source -y -vn -acodec alac $dest
extension: m4a
aac:
command: ffmpeg -i $source -y -vn -acodec libfaac -aq 100 $dest
extension: m4a
opus: ffmpeg -i $source -y -vn -acodec libopus -ab 96k $dest
mp3: ffmpeg -i $source -y -vn -aq 2 $dest
flac: ffmpeg -i $source -y -vn -acodec flac $dest
ogg: ffmpeg -i $source -y -vn -acodec libvorbis -aq 2 $dest
wma: ffmpeg -i $source -y -vn -acodec wmav2 -vn $dest
scrub:
auto: yes
thumbnails:
force: yes
fetchart:
auto: yes
maxwidth: 300
cautious: yes
minwidth: 0
sources:
- coverart
- itunes
- amazon
- albumart
cover_names:
- cover
- front
- art
- album
- folder
remote_priority: no
enforce_ratio: no
duplicates:
path: yes
count: no
full: no
format: ''
keys: []
move: ''
tag: ''
copy: ''
tiebreak: {}
album: no
strict: no
checksum: ''
merge: no
delete: no
zero:
fields: comments
update_database: yes
keep_fields: []
embedart:
auto: yes
maxwidth: 300
remove_art_file: yes
replaygain:
backend: bs1770gain
overwrite: yes
targetlevel: 89
auto: yes
chunk_at: 5000
method: replaygain
lastgenre:
canonical: yes
count: 1
source: album
force: yes
min_weight: 10
auto: yes
whitelist: yes
separator: ', '
fallback:
library: /home/simon/.beets/musiclibrary.blb
plugins: convert replaygain lastgenre fetchart info discogs scrub duplicates badfiles replaygain zero
directory: "/home/simon/M\xFAsica/"
import:
art: yes
languages: es en
match:
strong_rec_thresh: 0.3
max_rec:
missing_tracks: strong
discogs:
tokenfile: discogs_token.json
apikey: REDACTED
apisecret: REDACTED
source_weight: 0.5
$ beet -v import /dunehd/Musica\ pendiente/Avicii-Stories-CD-FLAC-2015-VOLDiES/
user configuration: /home/simon/.config/beets/config.yaml
data directory: /home/simon/.config/beets
plugin paths:
Sending event: pluginload
library database: /home/simon/.beets/musiclibrary.blb
library directory: /home/simon/Música
Sending event: library_opened
Sending event: import_begin
Sending event: import_task_created
Sending event: import_task_start
Looking up: /dunehd/Musica pendiente/Avicii-Stories-CD-FLAC-2015-VOLDiES
Tagging Avicii - Stories
No album IDs found.
Search terms: Avicii - Stories
Album might be VA: False
discogs: Communication error while searching for 'Avicii Stories': Only unicode objects are escapable. Got XQoOecWCCgbpXpkCOLJgobbSXIpjJAQkKMsDjzHb of type <type 'str'>.
Evaluating 5 candidates.
Candidate: Avicii - Stories
Success. Distance: 0.00
Candidate: Avicii - Stories
Success. Distance: 0.00
Candidate: Avicii - Stories
Success. Distance: 0.00
Candidate: Avicii - Stories
Success. Distance: 0.03
Candidate: Avicii - Stories
Success. Distance: 0.05
/dunehd/Musica pendiente/Avicii-Stories-CD-FLAC-2015-VOLDiES (14 items)
Tagging:
Avicii - Stories
URL:
http://musicbrainz.org/release/9408288b-4d6c-4df5-9e08-ee65498a0535
(Similarity: 100.0%) (CD, 2015, XE, PRMD)
* Waiting For Love -> Waiting for Love
* Talk To Myself -> Talk to Myself
* For A Better Day -> For a Better Day
* Can't Catch Me -> Can’t Catch Me
* Somewhere In Stockholm -> Somewhere in Stockholm
Sending event: import_task_choice
found duplicates: [548]
This album is already in the library!
Old: 14 items, MP3, 226kbps, 54:40, 89.0 MiB
New: 14 items, FLAC, 949kbps, 54:39, 372.4 MiB
[S]kip new, Keep both, Remove old? r
Sending event: import_task_apply
0 of 14 items replaced
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
replaygain: analyzing Avicii - Stories
^[[A^[[BSending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
artresizer: method is (2, (6, 7, 7))
artresizer: ImageMagick resizing /tmp/tmpHW_u3_.jpg to /tmp/tmpArhMyE.jpg
removing 14 old duplicated items
Sending event: database_change
Sending event: item_removed
deleting duplicate /home/simon/Música/Avicii/Stories/01 - Waiting for Love.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /home/simon/Música/Avicii/Stories/02 - Talk to Myself.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /home/simon/Música/Avicii/Stories/03 - Touch Me.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /home/simon/Música/Avicii/Stories/04 - Ten More Days.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /home/simon/Música/Avicii/Stories/05 - For a Better Day.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /home/simon/Música/Avicii/Stories/06 - Broken Arrows.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /home/simon/Música/Avicii/Stories/07 - True Believer.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /home/simon/Música/Avicii/Stories/08 - City Lights.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /home/simon/Música/Avicii/Stories/09 - Pure Grinding.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /home/simon/Música/Avicii/Stories/10 - Sunset Jesus.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /home/simon/Música/Avicii/Stories/11 - Can’t Catch Me.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /home/simon/Música/Avicii/Stories/12 - Somewhere in Stockholm.mp3
Sending event: database_change
Sending event: item_removed
deleting duplicate /home/simon/Música/Avicii/Stories/13 - Trouble.mp3
Sending event: database_change
Sending event: database_change
Sending event: item_removed
deleting duplicate /home/simon/Música/Avicii/Stories/14 - Gonna Love Ya.mp3
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: item_copied
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: import_task_files
Sending event: art_set
Sending event: database_change
Sending event: album_imported
Sending event: import
Sending event: cli_exit
Can you please try upgrading the Discogs client library to the latest version from PyPI?
This seems to be related to the fix for #1656, where we needed to switch to bytestrings instead of Unicode. I looks like your setup doesn't like that.
I have installed/upgraded with pip
.
My environment:
Python 2.7.8
beet git version 1.3.16
discogs-client 2.2.1
requests 2.8.1
urllib3 1.12
OK, I reverted my "fix" for the other issue. That should do it.
When I try to import the album 'Stories' from Avicii, it shows this error: