# File paths not always working?

**URL:** https://discourse.beets.io/t/file-paths-not-always-working/948
**Category:** Help
**Created:** [September 30, 2019, 9:42am UTC](https://discourse.beets.io/t/file-paths-not-always-working/948 "2019-09-30T09:42:15Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![mbc0](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/mbc0/32/301_2.png) [@mbc0](https://discourse.beets.io/u/mbc0)
#### Post date: [September 30, 2019, 9:42am UTC](https://discourse.beets.io/t/file-paths-not-always-working/948/1 "2019-09-30T09:42:15Z")

</div>

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](https://canada1.discourse-cdn.com/flex029/uploads/beets/original/1X/1d8c2923695d6275606978fb10e11c0284af62af.png)

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!

---

<div class="post-metadata">

### Author: ![mbc0](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/mbc0/32/301_2.png) [@mbc0](https://discourse.beets.io/u/mbc0)
#### Post date: [September 30, 2019, 3:47pm UTC](https://discourse.beets.io/t/file-paths-not-always-working/948/2 "2019-09-30T15:47:36Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)
#### Post date: [September 30, 2019, 6:09pm UTC](https://discourse.beets.io/t/file-paths-not-always-working/948/3 "2019-09-30T18:09:35Z")

</div>

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`?

> [@mbc0](#):
>
> Also, is it ok to just move these folders that have gone into / manually? or does that mess with the beets database?

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

---

<div class="post-metadata">

### Author: ![mbc0](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/mbc0/32/301_2.png) [@mbc0](https://discourse.beets.io/u/mbc0)
#### Post date: [September 30, 2019, 6:21pm UTC](https://discourse.beets.io/t/file-paths-not-always-working/948/4 "2019-09-30T18:21:12Z")

</div>

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:  
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

---

<div class="post-metadata">

### Author: ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)
#### Post date: [September 30, 2019, 7:46pm UTC](https://discourse.beets.io/t/file-paths-not-always-working/948/5 "2019-09-30T19:46:37Z")

</div>

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

> [@mbc0](#):
>
> what do you mean putting default path at the end?

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

---

<div class="post-metadata">

### Author: ![mbc0](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/mbc0/32/301_2.png) [@mbc0](https://discourse.beets.io/u/mbc0)
#### Post date: [October 2, 2019, 10:46am UTC](https://discourse.beets.io/t/file-paths-not-always-working/948/6 "2019-10-02T10:46:41Z")

</div>

Hi adrian,

just to update you that seems to have worked! thanks! 🙂
