Closed shimizurei closed 6 years ago
Wow! That is indeed weird!
In order to help out, we'll need a lot more detail—we'll need to rely on you to dig deeply and formulate some hypotheses. Please investigate more to see if you can come up with a phenomenon we can reproduce on our own machines. For example, you might try seeing at which step in this processs things went wrong by trying the commands again in isolation.
I also notice you have a customized replace
configuration that replaces several patterns with underscores. Some of the rules look very broad and could misfire. Have you tried investigating that?
I could not replicate the issue, but I did find a typo in my "singleton" file naming structure.
Seeing as how my metadata is still intact, how do I get each file back to its respective album folder? I've been trying for hours now using -g
, -AW
, and regular import, but they all just go into folders with the albumartist in the singleton (_NoAlbum
) folder. Whatever caused the underscores really janked my filenames and nothing is going back to how it was before :(
Apologies, but this is again not enough detail for us to help. We need specific instructions to create the problem you're seeing in order to understand it. You might be interested in some advice about how to write bug reports: https://www.cs.cornell.edu/~asampson/blog/bugrubric.html
Nevermind. Sorry, I couldn't replicate the underline thing. I'll keep an eye out for it.
To any future passers-by, I had already separated the tracks back into albums. I changed my singletons
option under import
to no
since I was working exclusively with albums. Then I imported with -g
: beet import -g [YOUR PATH]
and then just did "use as-is" to everything since all the tagging had previously been done.
I think the problem is that you have enclosed all regexps in []
. Especially bad:
replace:
'[^\.]': _
This will replace all characters that are not (^
) a full stop (\.
) with an underscore.
Yes, it's confusing that ^
at the start of an regexp means "start of string", and in []
is "not".
Problem
I fixed a lot of things in Tagscanner that beets didn't get right, re-arranged some folders, and moved some image files. As a result of the fixes, the db was out of date, so I deleted it and created a new one with
beet import -AWC "[LOCATION OF IMPORTED FILES]"
.After doing that I decided to check if anything needed updating with
beet update -p
. That showed a lot of genre fixes that I had done in Tagscanner that didn't seem to carry over, so I did the full update `beet update'.I then went to see if beets had recreated everything matching my updated config file only to find a mess (image below).
What happened?
Setup
My configuration (output of
beet config
) is: