beetbox / beets

music library manager and MusicBrainz tagger
http://beets.io/
MIT License
12.68k stars 1.81k forks source link

$if{} statement failing to work with $bitdepth #2931

Closed ghost closed 6 years ago

ghost commented 6 years ago

Problem

$if{} statement failing to work with $bitdepth

Running this command in verbose (-vv) mode:

D:\Audio>beet -vv import test2
user configuration: C:\Users\toad\AppData\Roaming\beets\config.yaml
data directory: C:\Users\toad\AppData\Roaming\beets
plugin paths:
Sending event: pluginload
lyrics: Disabling google source: no API key configured.
library database: C:\Users\toad\AppData\Roaming\beets\library.db
library directory: D:\Audio\PreAlbums
Sending event: library_opened
Sending event: import_begin
state file could not be read: [Errno 2] No such file or directory: u'C:\\Users\\toad\\AppData\\Roaming\\beets\\state.pickle'
Sending event: import_task_created
Sending event: import_task_start
Looking up: D:\Audio\test2\girl and boy (2013)
Tagging drip-133 - girl and boy
No album ID found.
Search terms: drip-133 - girl and boy
Album might be VA: True
Searching for MusicBrainz releases with: {'release': u'girl and boy', 'tracks': u'7', 'artist': u'drip-133'}
Requesting MusicBrainz release 68bf3bcc-6642-47de-8ef9-13453ce1263a
primary MB release type: ep
Sending event: albuminfo_received
Candidate: DRIP-133 - girl and boy (68bf3bcc-6642-47de-8ef9-13453ce1263a)
Computing track assignment...
...done.
Success. Distance: 0.00
Requesting MusicBrainz release 4664e0c0-e4f8-4a14-8478-9e16cb4ff23a
primary MB release type: ep
Sending event: albuminfo_received
Candidate: DRIP-133 - becomes a pattern (4664e0c0-e4f8-4a14-8478-9e16cb4ff23a)
Computing track assignment...
...done.
Success. Distance: 0.61
Requesting MusicBrainz release 9f4e1009-33f7-45c0-a012-9fc6b8c6505a
primary MB release type: ep
Sending event: albuminfo_received
Candidate: DRIP-133 - held happy (9f4e1009-33f7-45c0-a012-9fc6b8c6505a)
Computing track assignment...
...done.
Success. Distance: 0.45
Requesting MusicBrainz release cd327a23-2020-4bd4-ba77-664b214eebbc
primary MB release type: ep
Sending event: albuminfo_received
Candidate: DRIP-133 - There You Were (cd327a23-2020-4bd4-ba77-664b214eebbc)
Computing track assignment...
...done.
Success. Distance: 0.52
Requesting MusicBrainz release 00b7e560-11a0-4598-801d-60e07ca742ed
primary MB release type: ep
Sending event: albuminfo_received
Candidate: DRIP-133 - and back again (00b7e560-11a0-4598-801d-60e07ca742ed)
Computing track assignment...
...done.
Success. Distance: 0.64
Searching for MusicBrainz releases with: {'release': u'girl and boy', 'tracks': u'7', 'arid': '89ad4ac3-39f7-470e-963a-56509c546377'}
Requesting MusicBrainz release 68bf3bcc-6642-47de-8ef9-13453ce1263a
primary MB release type: ep
Sending event: albuminfo_received
Candidate: DRIP-133 - girl and boy (68bf3bcc-6642-47de-8ef9-13453ce1263a)
Duplicate.
Requesting MusicBrainz release b0d4ec92-3e86-4da8-9321-0e02d9fb8e5c
primary MB release type: ep
Sending event: albuminfo_received
Candidate: Alex Kozobolis - The Girl, the Boy & The Rest (b0d4ec92-3e86-4da8-9321-0e02d9fb8e5c)
Computing track assignment...
...done.
Success. Distance: 0.70
Requesting MusicBrainz release 252ae97e-73a7-47bc-87d9-486519922581
primary MB release type: album
Sending event: albuminfo_received
Candidate: Zen Boy & Karma Girl - Earth Vs. Zen Boy & Karma Girl (252ae97e-73a7-47bc-87d9-486519922581)
Computing track assignment...
...done.
Success. Distance: 0.72
Requesting MusicBrainz release 860bb8ab-cd2b-451d-a761-d45919c3281d
primary MB release type: album
secondary MB release type(s): soundtrack
Sending event: albuminfo_received
Candidate: Various Artists - My Girl (860bb8ab-cd2b-451d-a761-d45919c3281d)
Computing track assignment...
...done.
Success. Distance: 0.73
Requesting MusicBrainz release 642ed2de-4511-4253-afd0-e5d4fd9beddf
primary MB release type: album
secondary MB release type(s): compilation
Sending event: albuminfo_received
Candidate: Various Artists - A Boy, a Girl, and a Rendezvous (642ed2de-4511-4253-afd0-e5d4fd9beddf)
Computing track assignment...
...done.
Success. Distance: 0.80
bandcamp: Searching album, page 1
bandcamp: Searching album, page 2
bandcamp: Searching album, page 3
Sending event: albuminfo_received
Candidate: drip-133 - girl and boy (https://drip-133.bandcamp.com/album/girl-and-boy)
Computing track assignment...
...done.
Success. Distance: 0.12
Sending event: albuminfo_received
Candidate: GLACE - GIRLS AND BOYS (https://menacecollective.bandcamp.com/album/girls-and-boys)
Computing track assignment...
...done.
Success. Distance: 0.67
Sending event: albuminfo_received
Candidate: Natalie Sandin - Girls and Boys (https://nataliesandin.bandcamp.com/album/girls-and-boys)
Computing track assignment...
...done.
Success. Distance: 0.61
Sending event: albuminfo_received
Candidate: Savant - girls and boys volΓÇï.ΓÇï1 (https://savant6.bandcamp.com/album/girls-and-boys-vol-1)
Computing track assignment...
...done.
Success. Distance: 0.74
Sending event: albuminfo_received
Candidate: Girlfriends and Boyfriends - Our Garden (https://girlfriendsandboyfriends.bandcamp.com/album/our-garden)
Computing track assignment...
...done.
Success. Distance: 0.70
Sending event: albuminfo_received
Candidate: EmpathP - A Wicked Girl and a Tin Boy (http://store.vocallective.net/album/a-wicked-girl-and-a-tin-boy)
Computing track assignment...
...done.
Success. Distance: 0.69
Evaluating 15 candidates.

D:\Audio\test2\girl and boy (2013) (7 items)
Sending event: before_choose_candidate
Correcting tags from:
    drip-133 - girl and boy
To:
    DRIP-133 - girl and boy
URL:
    https://musicbrainz.org/release/68bf3bcc-6642-47de-8ef9-13453ce1263a
(Similarity: 100.0%) (Digital Media, 2013, XW)
Sending event: import_task_choice
Sending event: import_task_apply
0 of 7 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
lyrics: failed to fetch: http://lyrics.wikia.com/Drip-133_Ft._Hnrk_%26_Drew_The_Architect:Yleed_/_Kvapil (404)
lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Drip-133-Ft.-Hnrk-%26-Drew-The-Architect/Yleed-/-Kvapil (404)
lyrics: failed to fetch: http://lyrics.wikia.com/Drip-133_Ft._Hnrk_%26_Drew_The_Architect:Yleed (404)
lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Drip-133-Ft.-Hnrk-%26-Drew-The-Architect/Yleed (404)
lyrics: failed to fetch: http://lyrics.wikia.com/Drip-133_Ft._Hnrk_%26_Drew_The_Architect:Kvapil (404)
lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Drip-133-Ft.-Hnrk-%26-Drew-The-Architect/Kvapil (404)
lyrics: failed to fetch: http://lyrics.wikia.com/Drip-133:Yleed_/_Kvapil (404)
lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Drip-133/Yleed-/-Kvapil (404)
lyrics: failed to fetch: http://lyrics.wikia.com/Drip-133:Yleed (404)
lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Drip-133/Yleed (404)
lyrics: failed to fetch: http://lyrics.wikia.com/Drip-133:Kvapil (404)
lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Drip-133/Kvapil (404)
lyrics: lyrics not found: DRIP-133 ft. hnrk & drew the architect - girl and boy - yleed / kvapil
lyrics: failed to fetch: http://lyrics.wikia.com/Drip-133:Right_Here_In_My_Palm (404)
lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Drip-133/Right-Here-In-My-Palm (404)
lyrics: lyrics not found: DRIP-133 - girl and boy - right here in my palm
lyrics: failed to fetch: http://lyrics.wikia.com/Drip-133_Ft._Hnrk:%C3%9Atlimum (404)
lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Drip-133-Ft.-Hnrk/%C3%9Atlimum (404)
lyrics: failed to fetch: http://lyrics.wikia.com/Drip-133:%C3%9Atlimum (404)
lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Drip-133/%C3%9Atlimum (404)
lyrics: lyrics not found: DRIP-133 ft. hnrk - girl and boy - útlimum
lyrics: failed to fetch: http://lyrics.wikia.com/Drip-133:Indawn%2C_Returnal (404)
lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Drip-133/Indawn%2C-Returnal (404)
lyrics: lyrics not found: DRIP-133 - girl and boy - indawn, returnal
lyrics: failed to fetch: http://lyrics.wikia.com/Drip-133:Girl_And_Boy (404)
lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Drip-133/Girl-And-Boy (404)
lyrics: lyrics not found: DRIP-133 - girl and boy - girl and boy
lyrics: failed to fetch: http://lyrics.wikia.com/Drip-133_Ft._Bones:Ifeverythingwasjustmakebelieve (404)
lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Drip-133-Ft.-Bones/Ifeverythingwasjustmakebelieve (404)
lyrics: failed to fetch: http://lyrics.wikia.com/Drip-133:Ifeverythingwasjustmakebelieve (404)
lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Drip-133/Ifeverythingwasjustmakebelieve (404)
lyrics: lyrics not found: DRIP-133 ft. Bones - girl and boy - ifeverythingwasjustmakebelieve
lyrics: failed to fetch: http://lyrics.wikia.com/Drip-133:Thim (404)
lyrics: failed to fetch: https://www.musixmatch.com/lyrics/Drip-133/Thim (404)
lyrics: lyrics not found: DRIP-133 - girl and boy - thim
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
zero: disctotal: 1 -> None
zero: albumstatus: Official -> None
zero: disctitle:  -> None
zero: lyricist:  -> None
zero: month: 11 -> None
zero: date:  -> None
zero: original_day: 23 -> None
zero: mb_trackid: 15be0cba-458c-45de-ad4c-1491877bcd42 -> None
zero: composer:  -> None
zero: albumdisambig:  -> None
zero: tracktotal: 7 -> None
zero: asin:  -> None
zero: albumartist_sort: DRIP-133 -> None
zero: script: Latn -> None
zero: media: Digital Media -> None
zero: artist_sort: DRIP-133 ft. hnrk & drew the architect -> None
zero: mb_albumid: 68bf3bcc-6642-47de-8ef9-13453ce1263a -> None
zero: comments:  -> None
zero: acoustid_fingerprint:  -> None
zero: rg_album_gain: None -> None
zero: mb_releasegroupid: 778775bb-2cde-4531-b16c-7c0ca3e576e2 -> None
zero: acoustid_id:  -> None
zero: rg_album_peak: None -> None
zero: albumartist_credit: DRIP-133 -> None
zero: catalognum:  -> None
zero: original_month: 11 -> None
zero: mb_artistid: 143d1df2-771c-438d-98c0-8d8518846752 -> None
zero: comp: 0 -> None
zero: encoder:  -> None
zero: composer_sort:  -> None
zero: initial_key: None -> None
zero: rg_track_gain: None -> None
zero: day: 23 -> None
zero: original_year: 2013 -> None
zero: language: eng -> None
zero: r128_album_gain: 0 -> None
zero: mb_albumartistid: 143d1df2-771c-438d-98c0-8d8518846752 -> None
zero: country: XW -> None
zero: rg_track_peak: None -> None
zero: bpm: 0 -> None
zero: label:  -> None
zero: r128_track_gain: 0 -> None
zero: arranger:  -> None
zero: albumtype: ep -> None
zero: artist_credit: DRIP-133 ft. hnrk & drew the architect -> None
zero: original_date:  -> None
zero: grouping:  -> None
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
zero: disctotal: 1 -> None
zero: albumstatus: Official -> None
zero: disctitle:  -> None
zero: lyricist:  -> None
zero: month: 11 -> None
zero: date:  -> None
zero: original_day: 23 -> None
zero: mb_trackid: 3b6a12a7-1e53-4d64-add4-91c804041be2 -> None
zero: composer:  -> None
zero: albumdisambig:  -> None
zero: tracktotal: 7 -> None
zero: asin:  -> None
zero: albumartist_sort: DRIP-133 -> None
zero: script: Latn -> None
zero: media: Digital Media -> None
zero: artist_sort: DRIP-133 -> None
zero: mb_albumid: 68bf3bcc-6642-47de-8ef9-13453ce1263a -> None
zero: comments:  -> None
zero: acoustid_fingerprint:  -> None
zero: rg_album_gain: None -> None
zero: mb_releasegroupid: 778775bb-2cde-4531-b16c-7c0ca3e576e2 -> None
zero: acoustid_id:  -> None
zero: rg_album_peak: None -> None
zero: albumartist_credit: DRIP-133 -> None
zero: catalognum:  -> None
zero: original_month: 11 -> None
zero: mb_artistid: 143d1df2-771c-438d-98c0-8d8518846752 -> None
zero: comp: 0 -> None
zero: encoder:  -> None
zero: composer_sort:  -> None
zero: initial_key: None -> None
zero: rg_track_gain: None -> None
zero: day: 23 -> None
zero: original_year: 2013 -> None
zero: language: eng -> None
zero: r128_album_gain: 0 -> None
zero: mb_albumartistid: 143d1df2-771c-438d-98c0-8d8518846752 -> None
zero: country: XW -> None
zero: rg_track_peak: None -> None
zero: bpm: 0 -> None
zero: label:  -> None
zero: r128_track_gain: 0 -> None
zero: arranger:  -> None
zero: albumtype: ep -> None
zero: artist_credit: DRIP-133 -> None
zero: original_date:  -> None
zero: grouping:  -> None
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
zero: disctotal: 1 -> None
zero: albumstatus: Official -> None
zero: disctitle:  -> None
zero: lyricist:  -> None
zero: month: 11 -> None
zero: date:  -> None
zero: original_day: 23 -> None
zero: mb_trackid: 014134ad-1596-4bb9-89e6-d797f70e5527 -> None
zero: composer:  -> None
zero: albumdisambig:  -> None
zero: tracktotal: 7 -> None
zero: asin:  -> None
zero: albumartist_sort: DRIP-133 -> None
zero: script: Latn -> None
zero: media: Digital Media -> None
zero: artist_sort: DRIP-133 ft. hnrk -> None
zero: mb_albumid: 68bf3bcc-6642-47de-8ef9-13453ce1263a -> None
zero: comments:  -> None
zero: acoustid_fingerprint:  -> None
zero: rg_album_gain: None -> None
zero: mb_releasegroupid: 778775bb-2cde-4531-b16c-7c0ca3e576e2 -> None
zero: acoustid_id:  -> None
zero: rg_album_peak: None -> None
zero: albumartist_credit: DRIP-133 -> None
zero: catalognum:  -> None
zero: original_month: 11 -> None
zero: mb_artistid: 143d1df2-771c-438d-98c0-8d8518846752 -> None
zero: comp: 0 -> None
zero: encoder:  -> None
zero: composer_sort:  -> None
zero: initial_key: None -> None
zero: rg_track_gain: None -> None
zero: day: 23 -> None
zero: original_year: 2013 -> None
zero: language: eng -> None
zero: r128_album_gain: 0 -> None
zero: mb_albumartistid: 143d1df2-771c-438d-98c0-8d8518846752 -> None
zero: country: XW -> None
zero: rg_track_peak: None -> None
zero: bpm: 0 -> None
zero: label:  -> None
zero: r128_track_gain: 0 -> None
zero: arranger:  -> None
zero: albumtype: ep -> None
zero: artist_credit: DRIP-133 ft. hnrk -> None
zero: original_date:  -> None
zero: grouping:  -> None
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
zero: disctotal: 1 -> None
zero: albumstatus: Official -> None
zero: disctitle:  -> None
zero: lyricist:  -> None
zero: month: 11 -> None
zero: date:  -> None
zero: original_day: 23 -> None
zero: mb_trackid: 7e7c0ef1-9eb7-4289-8cea-5e10bb9f40f2 -> None
zero: composer:  -> None
zero: albumdisambig:  -> None
zero: tracktotal: 7 -> None
zero: asin:  -> None
zero: albumartist_sort: DRIP-133 -> None
zero: script: Latn -> None
zero: media: Digital Media -> None
zero: artist_sort: DRIP-133 -> None
zero: mb_albumid: 68bf3bcc-6642-47de-8ef9-13453ce1263a -> None
zero: comments:  -> None
zero: acoustid_fingerprint:  -> None
zero: rg_album_gain: None -> None
zero: mb_releasegroupid: 778775bb-2cde-4531-b16c-7c0ca3e576e2 -> None
zero: acoustid_id:  -> None
zero: rg_album_peak: None -> None
zero: albumartist_credit: DRIP-133 -> None
zero: catalognum:  -> None
zero: original_month: 11 -> None
zero: mb_artistid: 143d1df2-771c-438d-98c0-8d8518846752 -> None
zero: comp: 0 -> None
zero: encoder:  -> None
zero: composer_sort:  -> None
zero: initial_key: None -> None
zero: rg_track_gain: None -> None
zero: day: 23 -> None
zero: original_year: 2013 -> None
zero: language: eng -> None
zero: r128_album_gain: 0 -> None
zero: mb_albumartistid: 143d1df2-771c-438d-98c0-8d8518846752 -> None
zero: country: XW -> None
zero: rg_track_peak: None -> None
zero: bpm: 0 -> None
zero: label:  -> None
zero: r128_track_gain: 0 -> None
zero: arranger:  -> None
zero: albumtype: ep -> None
zero: artist_credit: DRIP-133 -> None
zero: original_date:  -> None
zero: grouping:  -> None
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
zero: disctotal: 1 -> None
zero: albumstatus: Official -> None
zero: disctitle:  -> None
zero: lyricist:  -> None
zero: month: 11 -> None
zero: date:  -> None
zero: original_day: 23 -> None
zero: mb_trackid: 81483665-c1db-4dcb-b93c-39521b30c9b7 -> None
zero: composer:  -> None
zero: albumdisambig:  -> None
zero: tracktotal: 7 -> None
zero: asin:  -> None
zero: albumartist_sort: DRIP-133 -> None
zero: script: Latn -> None
zero: media: Digital Media -> None
zero: artist_sort: DRIP-133 -> None
zero: mb_albumid: 68bf3bcc-6642-47de-8ef9-13453ce1263a -> None
zero: comments:  -> None
zero: acoustid_fingerprint:  -> None
zero: rg_album_gain: None -> None
zero: mb_releasegroupid: 778775bb-2cde-4531-b16c-7c0ca3e576e2 -> None
zero: acoustid_id:  -> None
zero: rg_album_peak: None -> None
zero: albumartist_credit: DRIP-133 -> None
zero: catalognum:  -> None
zero: original_month: 11 -> None
zero: mb_artistid: 143d1df2-771c-438d-98c0-8d8518846752 -> None
zero: comp: 0 -> None
zero: encoder:  -> None
zero: composer_sort:  -> None
zero: initial_key: None -> None
zero: rg_track_gain: None -> None
zero: day: 23 -> None
zero: original_year: 2013 -> None
zero: language: eng -> None
zero: r128_album_gain: 0 -> None
zero: mb_albumartistid: 143d1df2-771c-438d-98c0-8d8518846752 -> None
zero: country: XW -> None
zero: rg_track_peak: None -> None
zero: bpm: 0 -> None
zero: label:  -> None
zero: r128_track_gain: 0 -> None
zero: arranger:  -> None
zero: albumtype: ep -> None
zero: artist_credit: DRIP-133 -> None
zero: original_date:  -> None
zero: grouping:  -> None
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
zero: disctotal: 1 -> None
zero: albumstatus: Official -> None
zero: disctitle:  -> None
zero: lyricist:  -> None
zero: month: 11 -> None
zero: date:  -> None
zero: original_day: 23 -> None
zero: mb_trackid: 2256843d-82d7-490d-a987-eebd9462d502 -> None
zero: composer:  -> None
zero: albumdisambig:  -> None
zero: tracktotal: 7 -> None
zero: asin:  -> None
zero: albumartist_sort: DRIP-133 -> None
zero: script: Latn -> None
zero: media: Digital Media -> None
zero: artist_sort: DRIP-133 ft. Bones -> None
zero: mb_albumid: 68bf3bcc-6642-47de-8ef9-13453ce1263a -> None
zero: comments:  -> None
zero: acoustid_fingerprint:  -> None
zero: rg_album_gain: None -> None
zero: mb_releasegroupid: 778775bb-2cde-4531-b16c-7c0ca3e576e2 -> None
zero: acoustid_id:  -> None
zero: rg_album_peak: None -> None
zero: albumartist_credit: DRIP-133 -> None
zero: catalognum:  -> None
zero: original_month: 11 -> None
zero: mb_artistid: 143d1df2-771c-438d-98c0-8d8518846752 -> None
zero: comp: 0 -> None
zero: encoder:  -> None
zero: composer_sort:  -> None
zero: initial_key: None -> None
zero: rg_track_gain: None -> None
zero: day: 23 -> None
zero: original_year: 2013 -> None
zero: language: eng -> None
zero: r128_album_gain: 0 -> None
zero: mb_albumartistid: 143d1df2-771c-438d-98c0-8d8518846752 -> None
zero: country: XW -> None
zero: rg_track_peak: None -> None
zero: bpm: 0 -> None
zero: label:  -> None
zero: r128_track_gain: 0 -> None
zero: arranger:  -> None
zero: albumtype: ep -> None
zero: artist_credit: DRIP-133 ft. Bones -> None
zero: original_date:  -> None
zero: grouping:  -> None
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
zero: disctotal: 1 -> None
zero: albumstatus: Official -> None
zero: disctitle:  -> None
zero: lyricist:  -> None
zero: month: 11 -> None
zero: date:  -> None
zero: original_day: 23 -> None
zero: mb_trackid: ca268b85-db76-44d1-9ae4-727f77c0d288 -> None
zero: composer:  -> None
zero: albumdisambig:  -> None
zero: tracktotal: 7 -> None
zero: asin:  -> None
zero: albumartist_sort: DRIP-133 -> None
zero: script: Latn -> None
zero: media: Digital Media -> None
zero: artist_sort: DRIP-133 -> None
zero: mb_albumid: 68bf3bcc-6642-47de-8ef9-13453ce1263a -> None
zero: comments:  -> None
zero: acoustid_fingerprint:  -> None
zero: rg_album_gain: None -> None
zero: mb_releasegroupid: 778775bb-2cde-4531-b16c-7c0ca3e576e2 -> None
zero: acoustid_id:  -> None
zero: rg_album_peak: None -> None
zero: albumartist_credit: DRIP-133 -> None
zero: catalognum:  -> None
zero: original_month: 11 -> None
zero: mb_artistid: 143d1df2-771c-438d-98c0-8d8518846752 -> None
zero: comp: 0 -> None
zero: encoder:  -> None
zero: composer_sort:  -> None
zero: initial_key: None -> None
zero: rg_track_gain: None -> None
zero: day: 23 -> None
zero: original_year: 2013 -> None
zero: language: eng -> None
zero: r128_album_gain: 0 -> None
zero: mb_albumartistid: 143d1df2-771c-438d-98c0-8d8518846752 -> None
zero: country: XW -> None
zero: rg_track_peak: None -> None
zero: bpm: 0 -> None
zero: label:  -> None
zero: r128_track_gain: 0 -> None
zero: arranger:  -> None
zero: albumtype: ep -> None
zero: artist_credit: DRIP-133 -> None
zero: original_date:  -> None
zero: grouping:  -> None
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: import_task_files
state file could not be read: [Errno 2] No such file or directory: u'C:\\Users\\toad\\AppData\\Roaming\\beets\\state.pickle'
Sending event: album_imported
Sending event: import
Sending event: cli_exit

Led to this problem:

"girl and boy (2013) [$if{0,0-}$samplerate]" instead of ""girl and boy (2013) [44kHz]"

Setup

My configuration (output of beet config) is:

plugins: lyrics mbsubmit missing zero bandcamp
directory: D:\Audio\PreAlbums
import:
    write: yes
    copy: no
    move: yes
clutter: ["Thumbs.DB", ".DS_Store", "*.m3u", ".pls", "*.jpg", "*.png"]
ignore: [".*", "*~", "System Volume Information"]
threaded: no
timeout: 5.0
original_date: yes
paths:
    default: $format/$albumartist/$album ($year) [$if{$bitdepth,$bitdepth-}$samplerate]/$track. $title
    singleton:  $format/$albumartist/$title ($year) [$if{$bitdepth,$bitdepth-}$bitdepth-$samplerate]/$title
zero:
    keep_fields: title artist album albumartist year track disc genres genre art lyrics itunesadvisory images compression
bandcamp:
    lyrics: true
    art: false

Note: When running with:

paths:
    default: $format/$albumartist/$album ($year) [$bitdepth-$samplerate]/$track. $title

It works fine, but I'm trying to get rid of the "0" that shows up in place of the $bitdepth on mp3 files. Also, if anyone has a way to only show $bitrate on lossy files and not lossless, please let me know, that would be greatly appreciated

sampsyo commented 6 years ago

The syntax is %if, not $if.