Hey! I am having problems with the file path length limit in windows and using naming templates within Organize Library Files, which I have automatically managed.
I use this for my naming template at:
M:/Music/
An example of this is as so:
M:/Music/I/Imagine Dragons/[2012] Night Visions/Imagine Dragons - Night Visions - 1 01 - Radioactive.mp3
But this can cause paths to be really quite long. I don't want to shorten it because I have.. a lot of music, and I like to keep it the same, or almost the same.
Some tracks are beyond the 254 character path length limit that MusicBee (and other programs) can handle, but MusicBee will still rename them and disregard the fact that file lengths can only be so long.
If a file is renamed with a path length over that 254 char amount, and you close MusicBee after scanning in some music with that problematic long file, you will get a message on close saying that the database couldn't be saved and you have to use the last known backup (the backup prior to scanning in the long file). There is no protection in MusicBee from making long paths using automatic file sorting/naming.
I think some sort of fix should be made, and I have a few ideas of how to address this:
1.) Simply automatically cutting off the end of a file path when renaming automatically, eg, (imagining if this was beyond 255 chars), or allow some sort of filter or setting to do this manually.
M:/Music/I/Imagine Dragons/[2012] Night Visions/Imagine Dragons - Night Vis
2.) Save to the database of MusicBee in a way that a backup won't have to be completely restored, and warn user of the problematic file and tell them it won't be seen by MusicBee, so that the file could manually be fixed, eg. making the album name shorter. At least some sort of safeguard so that you don't need to rescan all of your work in and you're notified of the file that has a problem. There's no easy way to see what file is causing the issue, especially on a huge library.
3.) Simply allow longer file paths.
As a quick fix, I ask for some help on a few things to potentially help mitigate this issue without changing the original one much.
1.) Is there a way to use the display artist field instead of artist or albumartist? A song with a lot of artists might be the issue, and I don't want to use album artist because it might not necessarily be the song's artist. Or, to just use the first artist and bin the others?
2.) Is there a way to make it less likely for a file name to be too long, eg. limiting the song name to 20 chars, and limiting the artist field to 15?
Whenever I add something really long into my library, I won't know it, and my DB corrupts until it's manually found and fixed, and something like this won't show in the logs because MusicBee straight up thinks the entire DB is corrupted and loads a backup. This has happened a few times now, and I know this is the case because when I fix the long file, it fixes the problem.
Any help?
Thanks!