beetbox / beets

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

What is `beet update` doing??? #2989

Closed shimizurei closed 5 years ago

shimizurei commented 6 years ago

Problem

I edit my files in tagscanner after import and for some reason when I go to do beet update, I get stale updates. Today, I edited an album called "Kakegurui original soundtrack", but that's not even shown. The code below was edited sometime last week and shouldn't even be in the update queue. Some of the tags seem to be in the process of being deleted, which I never even specified! (I went and tried to re-add mbids late last week because they were gone). Since that time, I've even nuked my db once or twice.

Is there a flush system where you can start with fresh updates? I have no idea what beets is doing (or what I'm doing -_-).

This is not a very reproducible issue. If all else fails, I will reinstall beets since destroying the db does nothing.

PS C:\Users\me> beet update -p

BRIEF & TRUNKS - Buritora Golden Best - Ishiyaki Imo (石焼イモ)
  catalognum:  -> VSCD-3184
MAN WITH A MISSION - 5 Years 5 Wolves 5 Souls - FLY AGAIN
  original_day: 01 -> 00
  original_month: 01 -> 00
MAN WITH A MISSION - 5 Years 5 Wolves 5 Souls - Wake Myself Again
  albumstatus: Official ->
  original_day: 01 -> 00
  albumdisambig: 通常盤 ->
  mb_releasegroupid: 72303be6-b80f-4474-9544-071f177717ae ->
  script: Qaaa ->
  albumartist_credit: MAN WITH A MISSION ->
  original_month: 01 -> 00
  asin: B00OT34AT6 ->
  original_year: 2015 -> 0000
  language: eng -> English
  country: JP ->
  albumtype: compilation ->
MAN WITH A MISSION - 5 Years 5 Wolves 5 Souls - RAIN OF JULY
  original_day: 01 -> 00
  original_month: 01 -> 00
MAN WITH A MISSION - Dead End in Tokyo [European Edition] - Dead End in Tokyo
  albumstatus: Official ->
  mb_releasegroupid: 30406de9-8f8f-4e4c-a91f-74d38d18764e ->
  script: Latn ->
  albumartist_credit: MAN WITH A MISSION ->
  original_year: 2017 -> 0000
  language: eng ->
  country: JP ->
  albumtype: EP ->
MAN WITH A MISSION - Dead End in Tokyo [European Edition] - Seven Deadly Sins
  albumstatus: Official ->
  mb_releasegroupid: 30406de9-8f8f-4e4c-a91f-74d38d18764e ->
  script: Latn ->
  albumartist_credit: MAN WITH A MISSION ->
  original_year: 2017 -> 0000
  language: eng ->
  country: JP ->
  albumtype: EP ->
MAN WITH A MISSION - Dead End in Tokyo [European Edition] - Survivor - live from The World's On Fire Tour
  original_day: 00 -> 21
  original_month: 00 -> 06
MAN WITH A MISSION - Dead End in Tokyo [European Edition] - Give it Away - live from The World's On Fire Tour
  original_day: 00 -> 21
  original_month: 00 -> 06
MAN WITH A MISSION - Dead End in Tokyo [European Edition] - The World's On Fire - live from The World's On Fire Tour
  original_day: 00 -> 21
  original_month: 00 -> 06
MAN WITH A MISSION - Out of Control - The Cure
  albumstatus:  -> Official
  original_day: 00 -> 20
  mb_releasegroupid:  -> 4feb14ac-0008-4601-9a11-634abe023c84
  script:  -> Latn
  albumartist_credit:  -> MAN WITH A MISSION×Zebrahead
  original_month: 00 -> 05
  original_year: 0000 -> 2015
  language:  -> eng
  country:  -> JP
  albumtype:  -> EP
MAN WITH A MISSION - The World's On Fire - Waiting for the Moment
  albumstatus: Official ->
  original_day: 03 -> 00
  mb_releasegroupid: 30396142-2b07-4447-b862-7d6e7d2f99f1 ->
  script: Jpan ->
  albumartist_credit: MAN WITH A MISSION ->
  original_month: 02 -> 00
  original_year: 2016 -> 0000
  language: jpn ->
  country: ID ->
  albumtype: album ->
MAN WITH A MISSION - The World's On Fire - Raise your flag
  albumstatus: Official ->
  original_day: 03 -> 00
  mb_releasegroupid: 30396142-2b07-4447-b862-7d6e7d2f99f1 ->
  script: Jpan ->
  albumartist_credit: MAN WITH A MISSION ->
  original_month: 02 -> 00
  original_year: 2016 -> 0000
  language: jpn ->
  country: ID ->
  albumtype: album ->
MAN WITH A MISSION - The World's On Fire - followers
  original_day: 03 -> 00
  original_month: 02 -> 00
MAN WITH A MISSION - The World's On Fire - The World's On Fire
  albumstatus: Official ->
  original_day: 03 -> 00
  mb_releasegroupid: 30396142-2b07-4447-b862-7d6e7d2f99f1 ->
  script: Jpan ->
  albumartist_credit: MAN WITH A MISSION ->
  original_month: 02 -> 00
  original_year: 2016 -> 0000
  language: jpn ->
  country: ID ->
  albumtype: album ->
MAN WITH A MISSION - The World's On Fire - Give it Away
  original_day: 03 -> 00
  original_month: 02 -> 00
MAN WITH A MISSION - The World's On Fire - Seven Deadly Sins
  albumstatus: Official ->
  original_day: 03 -> 00
  mb_releasegroupid: 30396142-2b07-4447-b862-7d6e7d2f99f1 ->
  script: Jpan ->
  albumartist_credit: MAN WITH A MISSION ->
  original_month: 02 -> 00
  original_year: 2016 -> 0000
  language: jpn ->
  country: ID ->
  albumtype: album ->
MAN WITH A MISSION - The World's On Fire - Out of Control feat. Zebrahead
  albumstatus: Official ->
  original_day: 03 -> 00
  mb_releasegroupid: 30396142-2b07-4447-b862-7d6e7d2f99f1 ->
  script: Jpan ->
  albumartist_credit: MAN WITH A MISSION ->
  original_month: 02 -> 00
  original_year: 2016 -> 0000
  language: jpn ->
  country: ID ->
  albumtype: album ->
MAN WITH A MISSION - The World's On Fire - Wonderland (ワンダーランド)
  albumstatus: Official ->
  original_day: 03 -> 00
  mb_releasegroupid: 30396142-2b07-4447-b862-7d6e7d2f99f1 ->
  script: Jpan ->
  albumartist_credit: MAN WITH A MISSION ->
  original_month: 02 -> 00
  original_year: 2016 -> 0000
  language: jpn ->
  country: ID ->
  albumtype: album ->
Zebrahead - Out of Control - Lockjaw
  albumstatus:  -> Official
  mb_releasegroupid:  -> 4feb14ac-0008-4601-9a11-634abe023c84
  script:  -> Latn
  albumartist_credit:  -> MAN WITH A MISSION×Zebrahead
  original_year: 0000 -> 2015
  language:  -> eng
  country:  -> JP
  albumtype:  -> EP
Zebrahead - Out of Control - Blue Light Special
  albumstatus:  -> Official
  mb_releasegroupid:  -> 4feb14ac-0008-4601-9a11-634abe023c84
  script:  -> Latn
  albumartist_credit:  -> MAN WITH A MISSION×Zebrahead
  original_year: 0000 -> 2015
  language:  -> eng
  country:  -> JP
  albumtype:  -> EP

If I do verbose, I get a bunch of the following in addition to the cruft from above.

skipping C:\Users\me\Music\A-D\BRIEF & TRUNKS\[2000] Buritora Golden Best\09. Pechapai.mp3 because mtime is up to date (1531823365.0)

Setup

My configuration (output of beet config) is:

lyrics:
    bing_lang_from: []
    auto: yes
    fallback: ''
    sources: lyricwiki musixmatch genius google
    google_API_key: REDACTED
    force: no
    genius_api_key: REDACTED
    google_engine_ID: REDACTED
    bing_lang_to:
    bing_client_secret: REDACTED
    local: no
verbose: 0
asciify_paths: no
max_filename_length: 0
library: beets_musiclibrary.db

replace:
    '[\\/]': "\u2215"
    ^\.: _
    \.$: _
    '[\x00-\x1f]': _
    '[<>"\*\|]': _
    \s+$: ''
    ^\s+: ''
    '[\?]': "\uFF1F"
    '[\*]': "\u2736"
    '[\.]{3}$': "\u2026"
    '[\:]': "\u0589"
original_date: no
ftintitle:
    auto: yes
    format: feat. {0}
    drop: no

clutter:
- Thumbs.DB
- .DS_Store
- '*.m3u'
- '*.html'
- '*.htm'
copyartifacts:
    extensions: .cue .log .jpg .png
    print_ignored: yes

plugins:
- fromfilename
- vgmdb3
- edit
- embedart
- fetchart
- ftintitle
- lastgenre
- lyrics
- metasync
- scrub
- mbsync
- bucket
- inline
- the
- badfiles
- copyartifacts
- duplicates
- info
- missing
ignore_hidden: yes

paths:
    default: '%bucket{%upper{%left{%the{$albumartist},1}}}/%the{$albumartist}/[%if{$year,$year,0000}] $album %aunique{}/%if{$multidisc,Disc $disc/$disc-}$track. $title'
    albumtype_soundtrack: _Soundtracks/%ifdef{$grouped, %the{$fandom}}/[%if{$year,$year,0000}] $album %aunique{}/%if{$multidisc,Disc $disc/$disc-}$track. $title
    comp: _Compilations/%ifdef{$grouped, %the{$fandom}}/[%if{$year,$year,0000}] $album %aunique{}/%if{$multidisc,Disc $disc/$disc-}$track. $title
    singleton: _NoAlbum/%the{$artist}/$title
    ext:log: $albumpath/Extras/$artist - %asciify{$album}
    ext:cue: $albumpath/Extras/$artist - %asciify{$album}
    ext:jpg: $albumpath/Extras/albumart_%asciify{$album}
    ext:png: $albumpath/Extras/albumart_%asciify{$album}

format_item: $artist - $album - $title
sort_case_insensitive: yes
art_filename: '%asciify{albumart_$album}'
missing:
    format: $albumartist - $album - $track - $title
    count: no
    total: no
    album: no
format_album: $albumartist - $album
lastgenre:
    auto: yes
    force: no
    source: album
    count: 1
    prefer_specific: no
    min_weight: 10
    whitelist: yes
    separator: ', '
    fallback:
    canonical: no
path_sep_replace: _

import:
    log: ~/beets-import.log
    write: yes
    copy: yes
    group_albums: yes
    pretend: no
    search_ids: []
    duplicate_action: ask
    bell: yes
    set_fields: {}
    autotag: yes
    timid: yes
    resume: ask
    incremental: no
    incremental_skip_later: no
    quiet_fallback: skip
    none_rec_action: ask
    default_action: apply
    singletons: no
    languages: []
    detail: no
    flat: no

sort_album: albumartist+ album+

match:
    strong_rec_thresh: 0.04
    medium_rec_thresh: 0.25
    rec_gap_thresh: 0.25
    max_rec:
        missing_tracks: medium
        unmatched_tracks: medium
    distance_weights:
        source: 2.0
        artist: 3.0
        album: 3.0
        media: 1.0
        mediums: 1.0
        year: 1.0
        country: 0.5
        label: 0.5
        catalognum: 0.5
        albumdisambig: 0.5
        album_id: 5.0
        tracks: 2.0
        missing_tracks: 0.9
        unmatched_tracks: 0.6
        track_title: 3.0
        track_artist: 2.0
        track_index: 1.0
        track_length: 2.0
        track_id: 5.0
    preferred:
        countries: []
        media: []
        original_year: no
    ignored: []
    required: []
    track_length_grace: 10
    track_length_max: 30
scrub:
    auto: no
artist_credit: no
fetchart:
    auto: yes
    minwidth: 500
    maxwidth: 2000
    cautious: yes
    cover_names: cover folder album albumart front cvr
    sources: filesystem coverart amazon itunes albumart
    google_engine: 001442825323518660753:hrh5ch1gjzm
    enforce_ratio: no
    store_source: no
    google_key: REDACTED
    fanarttv_key: REDACTED
embedart:
    auto: yes
    compare_threshold: 0
    ifempty: no
    remove_art_file: no
    maxwidth: 0
time_format: '%Y-%m-%d %H:%M:%S'
pluginpath: [~\AppData\Roaming\beets\beetsplug]
item_fields:
    multidisc: 1 if disctotal > 1 else 0
    fandom: "if grouping != '':\n    return grouping\n"
sort_item: artist+ album+ disc+ track+
threaded: yes
va_name: Various Artists
per_disc_numbering: yes
id3v23: yes
bucket:
    bucket_alpha:
    - 0-9
    - A-D
    - E-H
    - I-L
    - M-P
    - Q-U
    - V-Z
    bucket_year: []
    extrapolate: no
    bucket_alpha_regex: {}
ignore:
- .*
- '*~'
- System Volume Information
- lost+found
- .DS_Store
- desktop.ini
- AlbumArtSmall.jpg
- AlbumArt_*_Small.jpg
album_fields:
    grouped: 1 if genre in ("Anime Soundtrack", "Soundtrack") or albumtype == 'soundtrack' else 0

ui:
    terminal_width: 80
    length_diff_thresh: 10.0
    color: yes
timeout: 5.0
directory: ~/Music
format_raw_length: no
terminal_encoding: UTF-8
the:
    a: yes
    patterns: []
    the: yes
    strip: no
    format: '{0}, {1}'
vgmdb3:
    lang-priority: en, ja-latn
    source_weight: 1.0
pathfields: {}
edit:
    itemfields: track title artist album
    albumfields: album albumartist
    ignore_fields: id path
duplicates:
    count: no
    full: no
    format: ''
    keys: []
    move: ''
    tag: ''
    path: no
    copy: ''
    tiebreak: {}
    album: no
    strict: no
    checksum: ''
    merge: no
    delete: no

I've been reading the docs pretty much on a daily basis, but it hasn't been helpful in my issue.

sampsyo commented 6 years ago

Hmm… this looks frustrating, but I'm not sure how much we can help if the problem isn't reproducible. Is there any way you can take a specific file, import it, make some changes, and then run update to see if there's something wrong? Then we can take the same file and do the same process on our machines.

shimizurei commented 6 years ago

Ok, so I imported an entire album and edited it in Tagscanner:

BRIEF & TRUNKS - Buritora Golden Best - Ishiyaki Imo (石焼イモ)
  catalognum:  -> VSCD-3184
MAN WITH A MISSION - 5 Years 5 Wolves 5 Souls - FLY AGAIN
  original_day: 01 -> 00
  original_month: 01 -> 00
MAN WITH A MISSION - 5 Years 5 Wolves 5 Souls - Wake Myself Again
  albumstatus: Official ->
  original_day: 01 -> 00
  albumdisambig: 通常盤 ->
  mb_releasegroupid: 72303be6-b80f-4474-9544-071f177717ae ->
  script: Qaaa ->
  albumartist_credit: MAN WITH A MISSION ->
  original_month: 01 -> 00
  asin: B00OT34AT6 ->
  original_year: 2015 -> 0000
  language: eng -> English
  country: JP ->
  albumtype: compilation ->
MAN WITH A MISSION - 5 Years 5 Wolves 5 Souls - RAIN OF JULY
  original_day: 01 -> 00
  original_month: 01 -> 00
MAN WITH A MISSION - Dead End in Tokyo [European Edition] - Dead End in Tokyo
  albumstatus: Official ->
  mb_releasegroupid: 30406de9-8f8f-4e4c-a91f-74d38d18764e ->
  script: Latn ->
  albumartist_credit: MAN WITH A MISSION ->
  original_year: 2017 -> 0000
  language: eng ->
  country: JP ->
  albumtype: EP ->
MAN WITH A MISSION - Dead End in Tokyo [European Edition] - Seven Deadly Sins
  albumstatus: Official ->
  mb_releasegroupid: 30406de9-8f8f-4e4c-a91f-74d38d18764e ->
  script: Latn ->
  albumartist_credit: MAN WITH A MISSION ->
  original_year: 2017 -> 0000
  language: eng ->
  country: JP ->
  albumtype: EP ->
MAN WITH A MISSION - Dead End in Tokyo [European Edition] - Survivor - live from The World's On Fire Tour
  original_day: 00 -> 21
  original_month: 00 -> 06
MAN WITH A MISSION - Dead End in Tokyo [European Edition] - Give it Away - live from The World's On Fire Tour
  original_day: 00 -> 21
  original_month: 00 -> 06
MAN WITH A MISSION - Dead End in Tokyo [European Edition] - The World's On Fire - live from The World's On Fire Tour
  original_day: 00 -> 21
  original_month: 00 -> 06
MAN WITH A MISSION - Out of Control - The Cure
  albumstatus:  -> Official
  original_day: 00 -> 20
  mb_releasegroupid:  -> 4feb14ac-0008-4601-9a11-634abe023c84
  script:  -> Latn
  albumartist_credit:  -> MAN WITH A MISSION×Zebrahead
  original_month: 00 -> 05
  original_year: 0000 -> 2015
  language:  -> eng
  country:  -> JP
  albumtype:  -> EP
MAN WITH A MISSION - The World's On Fire - Waiting for the Moment
  albumstatus: Official ->
  original_day: 03 -> 00
  mb_releasegroupid: 30396142-2b07-4447-b862-7d6e7d2f99f1 ->
  script: Jpan ->
  albumartist_credit: MAN WITH A MISSION ->
  original_month: 02 -> 00
  original_year: 2016 -> 0000
  language: jpn ->
  country: ID ->
  albumtype: album ->
MAN WITH A MISSION - The World's On Fire - Raise your flag
  albumstatus: Official ->
  original_day: 03 -> 00
  mb_releasegroupid: 30396142-2b07-4447-b862-7d6e7d2f99f1 ->
  script: Jpan ->
  albumartist_credit: MAN WITH A MISSION ->
  original_month: 02 -> 00
  original_year: 2016 -> 0000
  language: jpn ->
  country: ID ->
  albumtype: album ->
MAN WITH A MISSION - The World's On Fire - followers
  original_day: 03 -> 00
  original_month: 02 -> 00
MAN WITH A MISSION - The World's On Fire - The World's On Fire
  albumstatus: Official ->
  original_day: 03 -> 00
  mb_releasegroupid: 30396142-2b07-4447-b862-7d6e7d2f99f1 ->
  script: Jpan ->
  albumartist_credit: MAN WITH A MISSION ->
  original_month: 02 -> 00
  original_year: 2016 -> 0000
  language: jpn ->
  country: ID ->
  albumtype: album ->
MAN WITH A MISSION - The World's On Fire - Give it Away
  original_day: 03 -> 00
  original_month: 02 -> 00
MAN WITH A MISSION - The World's On Fire - Seven Deadly Sins
  albumstatus: Official ->
  original_day: 03 -> 00
  mb_releasegroupid: 30396142-2b07-4447-b862-7d6e7d2f99f1 ->
  script: Jpan ->
  albumartist_credit: MAN WITH A MISSION ->
  original_month: 02 -> 00
  original_year: 2016 -> 0000
  language: jpn ->
  country: ID ->
  albumtype: album ->
MAN WITH A MISSION - The World's On Fire - Out of Control feat. Zebrahead
  albumstatus: Official ->
  original_day: 03 -> 00
  mb_releasegroupid: 30396142-2b07-4447-b862-7d6e7d2f99f1 ->
  script: Jpan ->
  albumartist_credit: MAN WITH A MISSION ->
  original_month: 02 -> 00
  original_year: 2016 -> 0000
  language: jpn ->
  country: ID ->
  albumtype: album ->
MAN WITH A MISSION - The World's On Fire - Wonderland (ワンダーランド)
  albumstatus: Official ->
  original_day: 03 -> 00
  mb_releasegroupid: 30396142-2b07-4447-b862-7d6e7d2f99f1 ->
  script: Jpan ->
  albumartist_credit: MAN WITH A MISSION ->
  original_month: 02 -> 00
  original_year: 2016 -> 0000
  language: jpn ->
  country: ID ->
  albumtype: album ->
宇多田ヒカル - Fantôme - 道
  lyricist: 宇多田ヒカル -> Hikaru Utada
  original_day: 28 -> 00
  albumartist: 宇多田ヒカル -> Hikaru Utada
  composer: 宇多田ヒカル -> Hikaru Utada
  albumartist_sort: Utada, Hikaru ->
  title: Θüô -> Michi (Θüô)
  artist_sort: Utada, Hikaru ->
  comments: www.hikarinoakariost.info ->
  original_month: 09 -> 00
  artist: 宇多田ヒカル -> Hikaru Utada
  label: Virgin Records -> Verve Label
宇多田ヒカル - Fantôme - 俺の彼女
  lyricist: 宇多田ヒカル -> Hikaru Utada
  original_day: 28 -> 00
  albumartist: 宇多田ヒカル -> Hikaru Utada
  composer: 宇多田ヒカル -> Hikaru Utada
  albumartist_sort: Utada, Hikaru ->
  title: 俺の彼女 -> Ore no Kanojo (俺の彼女)
  artist_sort: Utada, Hikaru ->
  comments: www.hikarinoakariost.info ->
  original_month: 09 -> 00
  artist: 宇多田ヒカル -> Hikaru Utada
  label: Virgin Records -> Verve Label
宇多田ヒカル - Fantôme - 花束を君に
  lyricist: 宇多田ヒカル -> Hikaru Utada
  original_day: 28 -> 00
  albumartist: 宇多田ヒカル -> Hikaru Utada
  composer: 宇多田ヒカル -> Hikaru Utada
  albumartist_sort: Utada, Hikaru ->
  title: 花束を君に -> Hanataba wo Kimi ni (花束を君に)
  artist_sort: Utada, Hikaru ->
  comments: www.hikarinoakariost.info ->
  original_month: 09 -> 00
  artist: 宇多田ヒカル -> Hikaru Utada
  label: Virgin Records -> Verve Label
宇多田ヒカル - Fantôme - 二時間だけのバカンス feat. 椎名林檎
  lyricist: 宇多田ヒカル -> Hikaru Utada
  original_day: 28 -> 00
  albumartist: 宇多田ヒカル -> Hikaru Utada
  composer: 宇多田ヒカル -> Hikaru Utada
  albumartist_sort: Utada, Hikaru ->
  title: 二時間だけのバカンス feat. 椎名林檎 -> Nijikan Dake No Vacance feat. Ringo Sheena (二時間だけのバカンス feat. 椎名林檎)
  artist_sort: Utada, Hikaru ->
  comments: www.hikarinoakariost.info ->
  original_month: 09 -> 00
  artist: 宇多田ヒカル -> Hikaru Utada
  label: Virgin Records -> Verve Label
宇多田ヒカル - Fantôme - 人魚
  lyricist: 宇多田ヒカル -> Hikaru Utada
  original_day: 28 -> 00
  albumartist: 宇多田ヒカル -> Hikaru Utada
  composer: 宇多田ヒカル -> Hikaru Utada
  albumartist_sort: Utada, Hikaru ->
  title: Σ║║Θ¡Ü -> Ningyo (Σ║║Θ¡Ü)
  artist_sort: Utada, Hikaru ->
  comments: www.hikarinoakariost.info ->
  original_month: 09 -> 00
  artist: 宇多田ヒカル -> Hikaru Utada
  label: Virgin Records -> Verve Label
宇多田ヒカル - Fantôme - ともだち feat. 小袋成彬
  lyricist: 宇多田ヒカル -> Hikaru Utada
  original_day: 28 -> 00
  albumartist: 宇多田ヒカル -> Hikaru Utada
  composer: 宇多田ヒカル -> Hikaru Utada
  albumartist_sort: Utada, Hikaru ->
  title: ともだち feat. 小袋成彬 -> Tomodachi feat. Nariaki Obukuro (ともだち feat. 小袋成彬)
  artist_sort: Utada, Hikaru ->
  comments: www.hikarinoakariost.info ->
  original_month: 09 -> 00
  artist: 宇多田ヒカル -> Hikaru Utada
  label: Virgin Records -> Verve Label
宇多田ヒカル - Fantôme - 真夏の通り雨
  lyricist: 宇多田ヒカル -> Hikaru Utada
  original_day: 28 -> 00
  albumartist: 宇多田ヒカル -> Hikaru Utada
  composer: 宇多田ヒカル -> Hikaru Utada
  albumartist_sort: Utada, Hikaru ->
  title: 真夏の通り雨 -> Manatsu no Tooriame (真夏の通り雨)
  artist_sort: Utada, Hikaru ->
  comments: www.hikarinoakariost.info ->
  original_month: 09 -> 00
  artist: 宇多田ヒカル -> Hikaru Utada
  label: Virgin Records -> Verve Label
宇多田ヒカル - Fantôme - 荒野の狼
  lyricist: 宇多田ヒカル -> Hikaru Utada
  original_day: 28 -> 00
  albumartist: 宇多田ヒカル -> Hikaru Utada
  composer: 宇多田ヒカル -> Hikaru Utada
  albumartist_sort: Utada, Hikaru ->
  title: 荒野の狼 -> Kouya no Ookami (荒野の狼)
  artist_sort: Utada, Hikaru ->
  comments: www.hikarinoakariost.info ->
  original_month: 09 -> 00
  artist: 宇多田ヒカル -> Hikaru Utada
  label: Virgin Records -> Verve Label
宇多田ヒカル - Fantôme - 忘却 feat. KOHH
  lyricist: 宇多田ヒカル -> Hikaru Utada
  original_day: 28 -> 00
  albumartist: 宇多田ヒカル -> Hikaru Utada
  composer: KOHH, 宇多田ヒカル -> KOHH, Hikaru Utada
  albumartist_sort: Utada, Hikaru ->
  lyrics: Suki na hito wa inai mou...
  title: 忘却 feat. KOHH -> Boukyaku (忘却) feat. KOHH
  artist_sort: Utada, Hikaru ->
  comments: www.hikarinoakariost.info ->
  original_month: 09 -> 00
  artist: 宇多田ヒカル -> Hikaru Utada
  label: Virgin Records -> Verve Label
宇多田ヒカル - Fantôme - 人生最高の日
  lyricist: 宇多田ヒカル -> Hikaru Utada
  original_day: 28 -> 00
  albumartist: 宇多田ヒカル -> Hikaru Utada
  composer: 宇多田ヒカル -> Hikaru Utada
  albumartist_sort: Utada, Hikaru ->
  title: 人生最高の日 -> Jinsei Saikou no Hi (人生最高の日)
  artist_sort: Utada, Hikaru ->
  comments: www.hikarinoakariost.info ->
  original_month: 09 -> 00
  artist: 宇多田ヒカル -> Hikaru Utada
  label: Virgin Records -> Verve Label
宇多田ヒカル - Fantôme - 桜流し
  lyricist: 宇多田ヒカル -> Hikaru Utada
  original_day: 28 -> 00
  albumartist: 宇多田ヒカル -> Hikaru Utada
  composer: 宇多田ヒカル, Paul Carter -> Hikaru Utada, Paul Carter
  albumartist_sort: Utada, Hikaru ->
  lyrics: Watching flowers just blossomed fall...
  title: 桜流し -> Sakura Nagashi (桜流し)
  artist_sort: Utada, Hikaru ->
  comments: www.hikarinoakariost.info ->
  original_month: 09 -> 00
  artist: 宇多田ヒカル -> Hikaru Utada
  label: Virgin Records -> Verve Label
Zebrahead - Out of Control - Lockjaw
  albumstatus:  -> Official
  mb_releasegroupid:  -> 4feb14ac-0008-4601-9a11-634abe023c84
  script:  -> Latn
  albumartist_credit:  -> MAN WITH A MISSION×Zebrahead
  original_year: 0000 -> 2015
  language:  -> eng
  country:  -> JP
  albumtype:  -> EP
Zebrahead - Out of Control - Blue Light Special
  albumstatus:  -> Official
  mb_releasegroupid:  -> 4feb14ac-0008-4601-9a11-634abe023c84
  script:  -> Latn
  albumartist_credit:  -> MAN WITH A MISSION×Zebrahead
  original_year: 0000 -> 2015
  language:  -> eng
  country:  -> JP
  albumtype:  -> EP
Error: No such file or directory while moving \\?\C:\Users\me\Music\宇\宇多田ヒカル\[2016] Fantôme\albumart_Fantome.jpg to \\?\C:\Users\me\Music\E-H\Hikaru Utada\[2016] Fantôme\albumart_Fantome.1.jpg

I think this error is the problem??

Error: No such file or directory while moving \\?\C:\Users\me\Music\宇\宇多田ヒカル\[2016] Fantôme\albumart_Fantome.jpg to \\?\C:\Users\me\Music\E-H\Hikaru Utada\[2016] Fantôme\albumart_Fantome.1.jpg

I just remembered that I've had this issue before and it would essentially halt the updating process. I would literally have to force the update when this type of error showed up. For a 52-track album, I did beet update 52 times to get it to completely update -_-

As it stands now, since I romanized the artist's name, the files were moved, prompting this albumart error and only moving half of the files.

After spamming beet update, the only update that won't move forward is

BRIEF & TRUNKS - Buritora Golden Best - Ishiyaki Imo (石焼イモ)
  catalognum:  -> VSCD-3184

test_2BIMP.zip test_afterIMP.zip

sampsyo commented 6 years ago

Hmm… I'm not sure the error about the missing image file is related. Any chance you can write down instructions about what to do with these files? Should I import the first archive, then replace the files with the second archive, then run beet update? What commands did you use to replace the files on your machine?

shimizurei commented 6 years ago

"2BIMP" is the original, non-imported file. "AfterIMP" is the post-processed file.

Should I import the first archive, then replace the files with the second archive, then run beet update

Correct.

I ran beet update after and let it do it's thing. Not sure how well this will work since I did a whole album and GitHub screamed at me for uploading files that were too large, so I only sent you the first track.

sampsyo commented 6 years ago

OK! I gave it a try. First, I imported the original album:

Log from importing (one track of) the original album. ``` $ beet imp ~/Downloads/Utada\ Hikaru\ -\ Fantome_2BIMP /Users/asampson/Downloads/Utada Hikaru - Fantome_2BIMP (1 items) Finding tags for album "宇多田ヒカル - Fantôme". Candidates: 1. 宇多田ヒカル - Fantôme (52.6%) (missing tracks) (CD, 2016, KR, Virgin Records, DJ0153) 2. 宇多田ヒカル - Fantôme (52.6%) (missing tracks) (CD, 2016, TH, Virgin Records, 067 843-2) 3. 宇多田ヒカル - Fantôme (52.6%) (missing tracks) (CD, 2016, HK, Universal Music Hong Kong, 0678432) 4. 宇多田ヒカル - Fantôme (52.6%) (missing tracks) (Digital Media, 2016, JP, Virgin Records, Mastered for iTunes) 5. 宇多田ヒカル - Fantôme (47.4%) (missing tracks, tracks) (Digital Media, 2016, US, Verve Music Group) # selection (default 1), Skip, Use as-is, as Tracks, Group albums, Enter search, enter Id, aBort, eDit, edit Candidates? 1 Tagging: 宇多田ヒカル - Fantôme URL: https://musicbrainz.org/release/fe70166f-5d90-46fb-b1fd-b6e242c8ad25 (Similarity: 52.6%) (missing tracks) (CD, 2016, KR, Virgin Records, DJ0153) Missing tracks (10/11 - 90.9%): ! 俺の彼女 (# 2) (5:04) ! 花束を君に (# 3) (4:38) ! 二時間だけのバカンス (# 4) (4:42) ! 人魚 (# 5) (4:16) ! ともだち (# 6) (4:22) ! 真夏の通り雨 (# 7) (5:38) ! 荒野の狼 (# 8) (4:34) ! 忘却 (# 9) (5:05) ! 人生最高の日 (#10) (3:10) ! 桜流し (#11) (4:40) Apply, More candidates, Skip, Use as-is, as Tracks, Group albums, Enter search, enter Id, aBort, eDit, edit Candidates? a ```

At this point, beet update had nothing to change:

$ beet update
$

Then, I copied your "new" file over the old MP3 file:

$ cp ~/Downloads/宇多田ヒカル/\[2016\]\ Fantôme/01.\ Michi\ \(道\).mp3 _etc/testlib/宇多田ヒカル/Fantôme/01\ 道.mp3

Finally, running beet update again showed a bunch of changes:

$ beet update
宇多田ヒカル - Fantôme - 道
  title: 道 -> Michi (道)
  artist: 宇多田ヒカル -> Hikaru Utada
  artist_sort: Utada, Hikaru -> 
  albumartist: 宇多田ヒカル -> Hikaru Utada
  albumartist_sort: Utada, Hikaru -> 
  lyricist: 宇多田ヒカル -> Hikaru Utada
  composer: 宇多田ヒカル -> Hikaru Utada
  day: 30 -> 28
  lyrics:  -> Kuroi nami no mukou ni asa no kehai ga suru
Kienai hoshi ga watashi no mune ni kagayakidasu
Kanashii uta mo itsuka natsukashii uta ni naru
Mienai kizu ga watashi no tamashii irodoru
Korondemo okiagaru
(Only you can hear me now)
Mayottara tachidomaru
(And I hope you'll hear me out.)
Soshite tou anata nara konna toki dou suru
(It's so puzzling here when we're off)
Watashi no kokoro no naka ni anata ga iru
Itsuikanaru toki mo hitori de aruita tsumori no michi demo
Hajimari wa anata datta
It’s a lonely, it’s a lonely, it’s a lonely, it’s a lonely
(Road)
But I’m not alone, not alone, not alone, not alone
sonna kibun
Choushi ni notteta jiki mo aru to omoimasu
Hito wa mina ikiterunjanaku ikasareteru
Me ni mieru mono dake o
(Only you can show me love)
Shinjite wa ikenai yo
(Even when I'm all alone)
Jinsei wa kiro nitaku joushiki wa arya senu
(Only you can make me fall)
Donna koto o shite dare to itemo
Kono mi wa anata to tomo ni aru hitori
De ayumanebanaranu michi demo
Anata no koe ga kikoeru
It’s a lonely, it’s a lonely, it’s a lonely, it’s a lonely
(Road)
You are every song, every song, every song, every song
Kore wa jijitsu
Watashi no kokoro no naka ni anata ga iru
Itsuikanaru toki mo doko e tsudzuku ka mada wakaranu michi
Demo kitto soko ni anata ga iru
It’s a lonely, it’s a lonely, it’s a lonely, it’s a lonely
(Road)
But I’m not alone, not alone, not alone, not alone
Sonna kibun
It’s a lonely, it’s a lonely, it’s a lonely, it’s a lonely
(Road)
But I’m not alone, not alone, not alone, not alone
Sonna kibun
  comments: www.hikarinoakariost.info -> 
  mb_albumid: fe70166f-5d90-46fb-b1fd-b6e242c8ad25 -> dbb2b550-f757-4d24-a411-8de82f0ec133
  mb_releasetrackid: a44c2da5-e537-433e-b002-23d8e8506b8a -> 62f461a4-f482-474d-b1cc-3481ca398d8d
  label: Virgin Records -> Verve Label
  catalognum: DJ0153 -> 
  country: KR -> JP
  media: CD -> Digital Media
  r128_track_gain: 000000 -> 000000
  r128_album_gain: 000000 -> 000000
  original_month: 09 -> 00
  original_day: 28 -> 00

That all looks normal to me. Is there anything in those changes you weren't expecting?

shimizurei commented 6 years ago

No, that looks fine. Hmm... I don't know. For some reason, I always have issues with my album art moving with my tracks if they need to move, which causes a hangup on the update process at a later time (I really do think they're related).

I'm gonna try a fresh install of beets and see it that changes things (instead of deleting my db file every time something doesn't work). I wish there was a rollback feature on the db so I could record my steps for you.

(Yours looks so different... I didn't have any changes to my catalognum, country, or mbids when I updated...hmm...)

All that updated for me

宇多田ヒカル - Fantôme - 道
  lyricist: 宇多田ヒカル -> Hikaru Utada
  original_day: 28 -> 00
  albumartist: 宇多田ヒカル -> Hikaru Utada
  composer: 宇多田ヒカル -> Hikaru Utada
  albumartist_sort: Utada, Hikaru ->
  title: Θüô -> Michi (Θüô)
  artist_sort: Utada, Hikaru ->
  comments: www.hikarinoakariost.info ->
  original_month: 09 -> 00
  artist: 宇多田ヒカル -> Hikaru Utada
  label: Virgin Records -> Verve Label

Hopefully a clean install will fix everything.

By the way, what does your config look like? Maybe I'm doing something fundamentally wrong??