Troubleshooting missing filenames when using "as-is"?

Hey all!

First time posting. Not a command line user by nature. :slight_smile:

I have a decent amount of albums that are unmatched and will be imported as-is. When I import these, the file names get stripped, per my default path settings -

default: $albumartist/$album%aunique{year}/$disc-$track $title

For example:

DJQuest1_01.mp3 gets renamed to 00-00.1.mp3

Is there a way to set up a conditional path so “as-is” tracks just get pulled in with the original file name?

Thanks!

This happens when the file is missing any metadata at all. There is not really an easy way to preserve filenames because the beets “way” is to generate filenames from metadata. It might be a good idea to look into why these files are missing metadata tags.

If you really want to give this a shot, it is possible to get this to work kinda-sorta via the inline plugin by defining a field that uses the $path field. This comment links to some previous threads on how to accomplish that: