File paths not always working?

Hi, I have catagorized my music as follows

/Artists-Bands
/Compilations
/Soundtracks

my config is like so

paths:
default: Artists-Bands/$albumartist/$album%aunique{}/$track - $artist - $title
singleton: Non-Album/$artist - $title
comp: Compilations/$album%aunique{}/$track - $artist - $title
albumtype_soundtrack: Soundtracks/$album/$track - $artist -$title

only some of the albums are going into /Artists-Bands and the rest are going into /

image

Any ideas?
Also, is it ok to just move these folders that have gone into / manually? or does that mess with the beets database?

Thank you!

I am presuming it is the singleton variable causing this but the albums not being treated as default contain more than 1 track?

for example I have ABBA albums in both / & /Artists-Bands

Maybe I should just remove the singleton variable?

Weird; I don’t see anything specifically wrong with your setup. Just to try something random, can you try putting tour default path at the end of the list?

Does your paths: config look right if you type beet config?

No, I would not do that—then the beets database won’t know where your files are.

Hi,

Thanks for your reply!

here is what you asked for, what do you mean putting default path at the end?

root@50ab4c94e6ec:/# beet config

plugins: fetchart embedart convert scrub replaygain lastgenre chroma web discogs
directory: /music
library: /config/musiclibrary.blb
art_filename: folder
threaded: yes
original_date: no
per_disc_numbering: no

clutter:

  • Thumbs.DB

  • .DS_Store

  • ‘*.m3u’

  • ‘*.cue’

  • .pls

  • ‘*.jpg’

  • ‘*.nfo’
    convert:
    auto: yes
    never_convert_lossy_files: yes
    ffmpeg: /usr/bin/ffmpeg
    opts: -ab 320k -ac 2 -ar 48000 -joint_stereo 0
    max_bitrate: 320
    threads: 12
    dest:
    pretend: no
    format: mp3
    id3v23: inherit
    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
    tmpdir:
    quiet: no
    embed: yes

    paths: {}
    no_convert: ‘’
    copy_album_art: no
    album_art_maxwidth: 0

paths:
default: Artists-Bands/$albumartist/$album%aunique{}/$track - $artist - $title
singleton: Non-Album/$artist - $title
comp: Compilations/$album%aunique{}/$track - $artist - $title
albumtype_soundtrack: Soundtracks/$album/$track - $artist -$title

import:
write: yes
copy: no
move: yes
resume: ask
default_action: skip
incremental: yes
quiet_fallback: skip
timid: no
log: /config/beet.log
lastgenre:
auto: yes
source: album
whitelist: yes
min_weight: 10
count: 1
fallback:
canonical: no
force: yes
separator: ', ’
prefer_specific: no
embedart:
auto: yes
maxwidth: 0
compare_threshold: 0
ifempty: no
remove_art_file: no
fetchart:
auto: yes
maxwidth: 1000
cover_names: cover front art album folder Frontal frontal
google_key: REDACTED
sources: filesystem coverart itunes amazon albumart google *
minwidth: 500
enforce_ratio: yes
cautious: no
google_engine: 001442825323518660753:hrh5ch1gjzm
fanarttv_key: REDACTED
store_source: no
replaygain:
auto: no
overwrite: no
backend: command
targetlevel: 89
r128: [Opus]
command: ‘’
noclip: yes
scrub:
auto: yes

replace:
^.: _
‘[\x00-\x1f]’: _
‘[<>:"?*|]’: _
‘[\xE8-\xEB]’: e
‘[\xEC-\xEF]’: i
‘[\xE2-\xE6]’: a
‘[\xF2-\xF6]’: o
‘[\xF8]’: o
.: _ \s+: ‘’
web:
host: 0.0.0.0
port: 8337
cors: ‘’
cors_supports_credentials: no
reverse_proxy: no
include_paths: no
chroma:
auto: yes
discogs:
apikey: REDACTED
apisecret: REDACTED
tokenfile: discogs_token.json
source_weight: 0.5
user_token: REDACTED

In the future, please put pastes in Markdown code blocks so they’re readable.

In your list under paths:, put the default: line last.

Hi adrian,

just to update you that seems to have worked! thanks! :slight_smile: