Holzhaus / beets-extrafiles

A plugin for beets that copies additional files and directories during the import process.
MIT License
46 stars 10 forks source link

Running "beet import -L" results in mangled filenames #6

Open hamfactorial opened 5 years ago

hamfactorial commented 5 years ago

Running "beet import -L" on an existing directory in the library mangles the log and album art filenames, eventually ending up as "cover.log" and "cover.jpg"

To debug this, I did the following -

Here is my config:

plugins: fetchart convert scrub replaygain info mbsync ftintitle web extrafiles
directory: /music
library: /config/musiclibrary.blb
art_filename: cover
threaded: yes
original_date: yes
per_disc_numbering: no
ignore:
- .*
- '*~'
- System Volume Information
- lost+found
- '@eaDir'
ignore_hidden: yes

clutter: [Thumbs.DB, .DS_Store]
extrafiles:
    patterns:
        log: '*.log'
        rip: '*.accurip'
        art: '*.jpg'

    paths:
        log: $albumpath/$albumartist - $album
        rip: $albumpath/$albumartist - $album
        art: $albumpath/cover

musicbrainz:
    auto: yes
    user: shepherdzdog
    pass: [redacted]
convert:
    auto: no
    ffmpeg: /usr/bin/ffmpeg
    opts: -aq 0 -ac 2
    dest: /converted
    format: mp3
    embed: yes
    never_convert_lossy_files: yes
    pretend: no
    threads: 4
    formats:
        aac:
            command: ffmpeg -i $source -y -vn -acodec aac -aq 1 $dest
            extension: m4a
        alac:
            command: ffmpeg -i $source -y -vn -acodec alac $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
        ogg: ffmpeg -i $source -y -vn -acodec libvorbis -aq 3 $dest
        wma: ffmpeg -i $source -y -vn -acodec wmav2 -vn $dest
    max_bitrate: 500
    tmpdir:
    quiet: no

    paths: {}
    no_convert: ''
    copy_album_art: no
    album_art_maxwidth: 0
ftintitle:
    auto: yes
    drop: yes
    format: feat. {0}

paths:
    default: $albumartist/[$year] - $album%aunique{}/$track - $title
    singleton: Singles/$artist - $title
    comp: Various Artists/[$year] - $album%aunique{}/$track - $title

import:
    write: yes
    move: yes
    languages: en
    incremental: yes
    quiet_fallback: skip
    timid: no
    log: /config/beet.log
fetchart:
    auto: yes
    maxwidth: 800
    enforce_ratio: yes
    minwidth: 0
    cautious: no
    cover_names:
    - cover
    - front
    - art
    - album
    - folder
    sources:
    - filesystem
    - coverart
    - itunes
    - amazon
    - albumart
    google_key: REDACTED
    google_engine: 001442825323518660753:hrh5ch1gjzm
    fanarttv_key: REDACTED
    store_source: no
replaygain:
    auto: yes
    overwrite: no
    backend: command
    targetlevel: 89
    r128: [Opus]
    command: ''
    noclip: yes
scrub:
    auto: yes

replace:
    '[\\/]': _
    ^\.: _
    '[\x00-\x1f]': _
    '[<>:"\?\*\|]': _
    \.$: _
    \s+$: ''
    ^\s+: ''
    ^-: _
web:
    host: 127.0.0.1
    port: 8337
    cors: ''
    cors_supports_credentials: no
    reverse_proxy: no
    include_paths: no

Here is the initial fresh import -

user configuration: /config/config.yaml
data directory: /config
plugin paths: 
Sending event: pluginload
library database: /config/musiclibrary.blb
library directory: /music
Sending event: library_opened
Sending event: import_begin
Sending event: import_task_created
Sending event: import_task_start
Looking up: /import/J Cole - Born Sinner
Tagging J. Cole - Born Sinner
Searching for discovered album ID: d32d031a-0a3a-44b5-9d7e-2a6a21790e04
Requesting MusicBrainz release d32d031a-0a3a-44b5-9d7e-2a6a21790e04
primary MB release type: album
Sending event: albuminfo_received
Candidate: J. Cole - Born Sinner (d32d031a-0a3a-44b5-9d7e-2a6a21790e04)
Computing track assignment...
...done.
Success. Distance: 0.01
Album ID match recommendation is Recommendation.strong
ID match.

/import/J Cole - Born Sinner (16 items)
Sending event: before_choose_candidate
Tagging:
    J. Cole - Born Sinner
URL:
    https://musicbrainz.org/release/d32d031a-0a3a-44b5-9d7e-2a6a21790e04
(Similarity: 99.2%) (tracks) (CD, 2013, US, Roc Nation)
 * Ain't That Some Shit (interlude) (2:27) -> Ain't That Some Shit (interlude) (0:02) (length)
Sending event: import_task_choice
Sending event: import_task_apply
0 of 16 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: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
fetchart: trying source filesystem for album J. Cole - Born Sinner
fetchart: using well-named art file cover.jpg
artresizer: method is (2, (7, 0, 8))
fetchart: image size: (800, 800)
fetchart: using local image /import/J Cole - Born Sinner/cover.jpg
replaygain: Skipping album J. Cole - Born Sinner
Sending event: database_change
Sending event: database_change
Sending event: database_change
ftintitle: /import/J Cole - Born Sinner/04 - Power Trip.flac
ftintitle: artist: J. Cole feat. Miguel -> J. Cole
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
ftintitle: /import/J Cole - Born Sinner/08 - She Knows.flac
ftintitle: artist: J. Cole feat. Amber Coffman -> J. Cole
Sending event: database_change
Sending event: database_change
Sending event: database_change
ftintitle: /import/J Cole - Born Sinner/11 - Forbidden Fruit.flac
ftintitle: artist: J. Cole feat. Kendrick Lamar -> J. Cole
Sending event: database_change
Sending event: database_change
Sending event: database_change
ftintitle: /import/J Cole - Born Sinner/14 - Crooked Smile.flac
ftintitle: artist: J. Cole feat. TLC -> J. Cole
Sending event: database_change
Sending event: database_change
ftintitle: /import/J Cole - Born Sinner/16 - Born Sinner.flac
ftintitle: artist: J. Cole feat. @Fauntleroy -> J. Cole
Sending event: database_change
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
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: database_change
Sending event: database_change
Sending event: import_task_files
Sending event: art_set
Sending event: database_change
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/01 - Villuminati.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/02 - Kerney Sermon (skit).flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/03 - Land of the Snakes.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/04 - Power Trip.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/05 - Mo Money (interlude).flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/06 - Trouble.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/07 - Runaway.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/08 - She Knows.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/09 - Rich N____z.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/10 - Where's Jermaine_ (skit).flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/11 - Forbidden Fruit.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/12 - Chaining Day.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/13 - Ain't That Some Shit (interlude).flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/14 - Crooked Smile.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/15 - Let Nas Down.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/16 - Born Sinner.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
Sending event: album_imported
Sending event: import
Sending event: cli_exit
extrafiles: /import/J Cole - Born Sinner -> /music/J. Cole/[2013] - Born Sinner (Born Sinner by J. Cole, 16 tracks)
extrafiles: Moving extra file: /import/J Cole - Born Sinner/J. Cole - Born Sinner.log -> /music/J. Cole/[2013] - Born Sinner/J. Cole - Born Sinner.log

This results in the following files. Looks good!

beets:/import# ls -l /music/J.\ Cole/\[2013\]\ -\ Born\ Sinner/
total 369684
---------- 1 root root 35343643 Apr 15 12:13 '01 - Villuminati.flac'
---------- 1 root root  4107021 Apr 15 12:13 '02 - Kerney Sermon (skit).flac'
---------- 1 root root 25828898 Apr 15 12:13 '03 - Land of the Snakes.flac'
---------- 1 root root 26189888 Apr 15 12:13 '04 - Power Trip.flac'
---------- 1 root root  8223205 Apr 15 12:13 '05 - Mo Money (interlude).flac'
---------- 1 root root 28648957 Apr 15 12:13 '06 - Trouble.flac'
---------- 1 root root 30625485 Apr 15 12:13 '07 - Runaway.flac'
---------- 1 root root 31868988 Apr 15 12:13 '08 - She Knows.flac'
---------- 1 root root 28366107 Apr 15 12:13 '09 - Rich N____z.flac'
---------- 1 root root  2610389 Apr 15 12:13 '10 - Where'\''s Jermaine_ (skit).flac'
---------- 1 root root 22965839 Apr 15 12:13 '11 - Forbidden Fruit.flac'
---------- 1 root root 27795138 Apr 15 12:13 '12 - Chaining Day.flac'
---------- 1 root root 17408658 Apr 15 12:13 '13 - Ain'\''t That Some Shit (interlude).flac'
---------- 1 root root 33286950 Apr 15 12:13 '14 - Crooked Smile.flac'
---------- 1 root root 30261493 Apr 15 12:13 '15 - Let Nas Down.flac'
---------- 1 root root 24900267 Apr 15 12:13 '16 - Born Sinner.flac'
-rwx------ 1 root root    16818 Feb 20 20:27 'J. Cole - Born Sinner.log'
---------- 1 root root    49013 Apr 15 12:13  cover.jpg

Here is the reimport where things start to go bad -

user configuration: /config/config.yaml
data directory: /config
plugin paths: 
Sending event: pluginload
library database: /config/musiclibrary.blb
library directory: /music
Sending event: library_opened
Sending event: import_begin
yielding album 2845: J. Cole - Born Sinner
Sending event: import_task_created
Sending event: import_task_start
Looking up: /music/J. Cole/[2013] - Born Sinner
Tagging J. Cole - Born Sinner
Searching for discovered album ID: d32d031a-0a3a-44b5-9d7e-2a6a21790e04
Requesting MusicBrainz release d32d031a-0a3a-44b5-9d7e-2a6a21790e04
primary MB release type: album
Sending event: albuminfo_received
Candidate: J. Cole - Born Sinner (d32d031a-0a3a-44b5-9d7e-2a6a21790e04)
Computing track assignment...
...done.
Success. Distance: 0.01
Album ID match recommendation is Recommendation.strong
ID match.

/music/J. Cole/[2013] - Born Sinner (16 items)
Sending event: before_choose_candidate
Tagging:
    J. Cole - Born Sinner
URL:
    https://musicbrainz.org/release/d32d031a-0a3a-44b5-9d7e-2a6a21790e04
(Similarity: 99.2%) (tracks) (CD, 2013, US, Roc Nation)
 * Ain't That Some Shit (interlude) (2:27) -> Ain't That Some Shit (interlude) (0:02) (length)
Sending event: import_task_choice
Sending event: import_task_apply
Replacing item 38778: /music/J. Cole/[2013] - Born Sinner/01 - Villuminati.flac
Sending event: database_change
Sending event: item_removed
Replacing item 38779: /music/J. Cole/[2013] - Born Sinner/02 - Kerney Sermon (skit).flac
Sending event: database_change
Sending event: item_removed
Replacing item 38780: /music/J. Cole/[2013] - Born Sinner/03 - Land of the Snakes.flac
Sending event: database_change
Sending event: item_removed
Replacing item 38781: /music/J. Cole/[2013] - Born Sinner/04 - Power Trip.flac
Sending event: database_change
Sending event: item_removed
Replacing item 38782: /music/J. Cole/[2013] - Born Sinner/05 - Mo Money (interlude).flac
Sending event: database_change
Sending event: item_removed
Replacing item 38783: /music/J. Cole/[2013] - Born Sinner/06 - Trouble.flac
Sending event: database_change
Sending event: item_removed
Replacing item 38784: /music/J. Cole/[2013] - Born Sinner/07 - Runaway.flac
Sending event: database_change
Sending event: item_removed
Replacing item 38785: /music/J. Cole/[2013] - Born Sinner/08 - She Knows.flac
Sending event: database_change
Sending event: item_removed
Replacing item 38786: /music/J. Cole/[2013] - Born Sinner/09 - Rich N____z.flac
Sending event: database_change
Sending event: item_removed
Replacing item 38787: /music/J. Cole/[2013] - Born Sinner/10 - Where's Jermaine_ (skit).flac
Sending event: database_change
Sending event: item_removed
Replacing item 38788: /music/J. Cole/[2013] - Born Sinner/11 - Forbidden Fruit.flac
Sending event: database_change
Sending event: item_removed
Replacing item 38789: /music/J. Cole/[2013] - Born Sinner/12 - Chaining Day.flac
Sending event: database_change
Sending event: item_removed
Replacing item 38790: /music/J. Cole/[2013] - Born Sinner/13 - Ain't That Some Shit (interlude).flac
Sending event: database_change
Sending event: item_removed
Replacing item 38791: /music/J. Cole/[2013] - Born Sinner/14 - Crooked Smile.flac
Sending event: database_change
Sending event: item_removed
Replacing item 38792: /music/J. Cole/[2013] - Born Sinner/15 - Let Nas Down.flac
Sending event: database_change
Sending event: item_removed
Replacing item 38793: /music/J. Cole/[2013] - Born Sinner/16 - Born Sinner.flac
Sending event: database_change
Sending event: database_change
Sending event: item_removed
16 of 16 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: 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
Reimported album: added 1555354409.4781902, flexible attributes dict_keys([]) from album 2845 for /music/J. Cole/[2013] - Born Sinner
Reimported item added 1555354409.4867651 from item 38778 for /music/J. Cole/[2013] - Born Sinner/01 - Villuminati.flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38778 for /music/J. Cole/[2013] - Born Sinner/01 - Villuminati.flac
Sending event: database_change
Reimported item added 1555354409.4915254 from item 38779 for /music/J. Cole/[2013] - Born Sinner/02 - Kerney Sermon (skit).flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38779 for /music/J. Cole/[2013] - Born Sinner/02 - Kerney Sermon (skit).flac
Sending event: database_change
Reimported item added 1555354409.4958766 from item 38780 for /music/J. Cole/[2013] - Born Sinner/03 - Land of the Snakes.flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38780 for /music/J. Cole/[2013] - Born Sinner/03 - Land of the Snakes.flac
Sending event: database_change
Reimported item added 1555354409.5001147 from item 38781 for /music/J. Cole/[2013] - Born Sinner/04 - Power Trip.flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38781 for /music/J. Cole/[2013] - Born Sinner/04 - Power Trip.flac
Sending event: database_change
Reimported item added 1555354409.504397 from item 38782 for /music/J. Cole/[2013] - Born Sinner/05 - Mo Money (interlude).flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38782 for /music/J. Cole/[2013] - Born Sinner/05 - Mo Money (interlude).flac
Sending event: database_change
Reimported item added 1555354409.5089319 from item 38783 for /music/J. Cole/[2013] - Born Sinner/06 - Trouble.flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38783 for /music/J. Cole/[2013] - Born Sinner/06 - Trouble.flac
Sending event: database_change
Reimported item added 1555354409.513207 from item 38784 for /music/J. Cole/[2013] - Born Sinner/07 - Runaway.flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38784 for /music/J. Cole/[2013] - Born Sinner/07 - Runaway.flac
Sending event: database_change
Reimported item added 1555354409.517456 from item 38785 for /music/J. Cole/[2013] - Born Sinner/08 - She Knows.flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38785 for /music/J. Cole/[2013] - Born Sinner/08 - She Knows.flac
Sending event: database_change
Reimported item added 1555354409.521675 from item 38786 for /music/J. Cole/[2013] - Born Sinner/09 - Rich N____z.flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38786 for /music/J. Cole/[2013] - Born Sinner/09 - Rich N____z.flac
Sending event: database_change
Reimported item added 1555354409.526048 from item 38787 for /music/J. Cole/[2013] - Born Sinner/10 - Where's Jermaine_ (skit).flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38787 for /music/J. Cole/[2013] - Born Sinner/10 - Where's Jermaine_ (skit).flac
Sending event: database_change
Reimported item added 1555354409.5303245 from item 38788 for /music/J. Cole/[2013] - Born Sinner/11 - Forbidden Fruit.flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38788 for /music/J. Cole/[2013] - Born Sinner/11 - Forbidden Fruit.flac
Sending event: database_change
Reimported item added 1555354409.534594 from item 38789 for /music/J. Cole/[2013] - Born Sinner/12 - Chaining Day.flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38789 for /music/J. Cole/[2013] - Born Sinner/12 - Chaining Day.flac
Sending event: database_change
Reimported item added 1555354409.538831 from item 38790 for /music/J. Cole/[2013] - Born Sinner/13 - Ain't That Some Shit (interlude).flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38790 for /music/J. Cole/[2013] - Born Sinner/13 - Ain't That Some Shit (interlude).flac
Sending event: database_change
Reimported item added 1555354409.5431087 from item 38791 for /music/J. Cole/[2013] - Born Sinner/14 - Crooked Smile.flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38791 for /music/J. Cole/[2013] - Born Sinner/14 - Crooked Smile.flac
Sending event: database_change
Reimported item added 1555354409.5474966 from item 38792 for /music/J. Cole/[2013] - Born Sinner/15 - Let Nas Down.flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38792 for /music/J. Cole/[2013] - Born Sinner/15 - Let Nas Down.flac
Sending event: database_change
Reimported item added 1555354409.5517826 from item 38793 for /music/J. Cole/[2013] - Born Sinner/16 - Born Sinner.flac
Reimported item flexible attributes dict_keys(['data_source', 'track_alt']) from item 38793 for /music/J. Cole/[2013] - Born Sinner/16 - Born Sinner.flac
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
ftintitle: /music/J. Cole/[2013] - Born Sinner/04 - Power Trip.flac
ftintitle: artist: J. Cole feat. Miguel -> J. Cole
Sending event: database_change
Sending event: database_change
Sending event: database_change
Sending event: database_change
ftintitle: /music/J. Cole/[2013] - Born Sinner/08 - She Knows.flac
ftintitle: artist: J. Cole feat. Amber Coffman -> J. Cole
Sending event: database_change
Sending event: database_change
Sending event: database_change
ftintitle: /music/J. Cole/[2013] - Born Sinner/11 - Forbidden Fruit.flac
ftintitle: artist: J. Cole feat. Kendrick Lamar -> J. Cole
Sending event: database_change
Sending event: database_change
Sending event: database_change
ftintitle: /music/J. Cole/[2013] - Born Sinner/14 - Crooked Smile.flac
ftintitle: artist: J. Cole feat. TLC -> J. Cole
Sending event: database_change
Sending event: database_change
ftintitle: /music/J. Cole/[2013] - Born Sinner/16 - Born Sinner.flac
ftintitle: artist: J. Cole feat. @Fauntleroy -> J. Cole
Sending event: database_change
replaygain: Skipping album J. Cole - Born Sinner
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
Sending event: database_change
Sending event: database_change
Sending event: write
Sending event: after_write
Sending event: before_item_moved
Sending event: item_moved
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: database_change
Sending event: database_change
Sending event: import_task_files
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/01 - Villuminati.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/02 - Kerney Sermon (skit).flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/03 - Land of the Snakes.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/04 - Power Trip.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/05 - Mo Money (interlude).flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/06 - Trouble.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/07 - Runaway.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/08 - She Knows.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/09 - Rich N____z.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/10 - Where's Jermaine_ (skit).flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/11 - Forbidden Fruit.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/12 - Chaining Day.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/13 - Ain't That Some Shit (interlude).flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/14 - Crooked Smile.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/15 - Let Nas Down.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
scrub: auto-scrubbing /music/J. Cole/[2013] - Born Sinner/16 - Born Sinner.flac
scrub: writing new tags after scrub
Sending event: write
Sending event: after_write
Sending event: album_imported
Sending event: import
Sending event: cli_exit
extrafiles: /music/J. Cole/[2013] - Born Sinner -> /music/J. Cole/[2013] - Born Sinner (Born Sinner by J. Cole, 16 tracks)
extrafiles: Moving extra file: /music/J. Cole/[2013] - Born Sinner/cover.jpg -> /music/J. Cole/[2013] - Born Sinner/J. Cole - Born Sinner.jpg
extrafiles: Skipping already present destination file: /music/J. Cole/[2013] - Born Sinner/J. Cole - Born Sinner.log
extrafiles: Moving extra file: /music/J. Cole/[2013] - Born Sinner/J. Cole - Born Sinner.log -> /music/J. Cole/[2013] - Born Sinner/J. Cole - Born Sinner.1.log
extrafiles: Skipping already present destination file: /music/J. Cole/[2013] - Born Sinner/J. Cole - Born Sinner.jpg
extrafiles: Moving extra file: /music/J. Cole/[2013] - Born Sinner/J. Cole - Born Sinner.jpg -> /music/J. Cole/[2013] - Born Sinner/J. Cole - Born Sinner.1.jpg
extrafiles: Moving extra file: /music/J. Cole/[2013] - Born Sinner/J. Cole - Born Sinner.1.log -> /music/J. Cole/[2013] - Born Sinner/J. Cole - Born Sinner.log
extrafiles: Moving extra file: /music/J. Cole/[2013] - Born Sinner/J. Cole - Born Sinner.1.jpg -> /music/J. Cole/[2013] - Born Sinner/cover.jpg
extrafiles: Moving extra file: /music/J. Cole/[2013] - Born Sinner/J. Cole - Born Sinner.log -> /music/J. Cole/[2013] - Born Sinner/cover.log
Holzhaus commented 5 years ago

Looks like an additional check is needed, in case that source and destination file are the same.