beetbox / beets

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

`beet update` clears information #2271

Closed Freso closed 7 years ago

Freso commented 8 years ago

Problem

When running beet update, it will clear some information (probably information not stored in tags?).

See beet update output here: https://gist.github.com/Freso/d847bcda9e375d7b0f69d002c7dd16f6

Setup

My configuration (output of beet config) is:

lyrics:
    bing_lang_from: []
    sources: lyricwiki genius musixmatch
    bing_lang_to:
    force: no
    google_API_key: REDACTED
    bing_client_secret: REDACTED
    google_engine_ID: REDACTED
    genius_api_key: REDACTED
    fallback:
    auto: yes

import:
    move: yes
item_fields:
    artist_not_albumartist: artist != albumartist
asciify_paths: yes
convert:
    auto: yes
    format: vorbis
    never_convert_lossy_files: yes
    embed: no
    formats:
        vorbis:
            command: ffmpeg -hide_banner -i $source -y -vn -acodec libvorbis -aq 5.9999999999999999 $dest
            extension: ogg
        aac:
            command: ffmpeg -i $source -y -vn -acodec libfaac -aq 100 $dest
            extension: m4a
        flac: ffmpeg -i $source -y -vn -acodec flac $dest
        mp3: ffmpeg -i $source -y -vn -aq 2 $dest
        opus: ffmpeg -i $source -y -vn -acodec libopus -ab 96k $dest
        alac:
            command: ffmpeg -i $source -y -vn -acodec alac $dest
            extension: m4a
        ogg: ffmpeg -i $source -y -vn -acodec libvorbis -aq 3 $dest
        wma: ffmpeg -i $source -y -vn -acodec wmav2 -vn $dest
    tmpdir:
    max_bitrate: 500
    dest:
    quiet: no
    album_art_maxwidth: 0
    threads: 4
    copy_album_art: no
    pretend: no

    paths: {}

plugins: acousticbrainz chroma convert fetchart importadded info inline lastgenre lyrics mbsync permissions play spotify types
acoustid:
    apikey: REDACTED
spotify:
    region_filter: ES
    show_failures: no
    regex: []
    tiebreak: popularity
    album_field: album
    track_field: title
    artist_field: albumartist
    mode: list
directory: ~/Audio
lastgenre:
    canonical: yes
    source: track
    force: yes
    min_weight: 10
    count: 1
    prefer_specific: no
    whitelist: yes
    separator: ', '
    fallback:
    auto: yes
library: ~/.local/share/beets/library.db
fetchart:
    cautious: yes
    maxwidth: 1000
    sources: fanarttv coverart filesystem
    fanarttv_key: REDACTED
    store_source: yes
    google_key: REDACTED
    enforce_ratio: no
    google_engine: 001442825323518660753:hrh5ch1gjzm
    cover_names:
    - cover
    - front
    - art
    - album
    - folder
    minwidth: 0
    auto: yes

paths:
    albumtype:audiobook: Audiobooks/$albumartist - $title%aunique{}
    singleton: Music/$artist/0000 - singletons/$title
    default: Music/$albumartist/$year - $album%aunique{albumartist album year,albumtype label catalognum albumdisambig}/$track. %if{$artist_not_albumartist,$artist - }$title
permissions:
    file: '644'
    dir: '755'
chroma:
    auto: yes
acousticbrainz:
    auto: yes
album_fields: {}
pathfields: {}
play:
    warning_treshold: 100
    command:
    use_folders: no
    relative_to:
    raw: no
    warning_threshold: -2
importadded:
    preserve_mtimes: no
    preserve_write_mtimes: no
sampsyo commented 8 years ago

Hmm, yes—the idea is that, after running beet update, the data in beets's database should match your tags. So if you have data in the DB that hasn't been written out yet, changes like that might happen.

So the question is: do you know how that information got into the database but not into the tags? In any case, beet write might be the thing to do to synchronize in the opposite direction.

Freso commented 7 years ago

Doesn't look like I can replicate it either now. :/ I'll close for now.