Changing iTunes default Library


My music is on. NAS drive and iTunes accepts the library OK under normal circumstances - e.g. close/restart iTunes.

But sometimes, e.g. powering down my iMac or after a power outrage, iTunes resets the library back to its default setting.

Has anyone been able to get iTunes to always use an alternate library path?

Thanks
williewonka
Willie - Not ALWAYS, but things seems to work pretty consistently for me with
library file stored on external hard drive (along with a copy of the iTunes folder).
I do occasionally have to respond to a popup about BitPerfect or iTunes not being
able to find the library and have to click NEXT on a popup to give permission to
search for the library. Most of the time (8 out of 10?), Bitperfect launches iTunes
and the library comes up without any popups. I do "Quit" out of
iTunes and BitPerfect when shutting down for the evening. Power outages and
especially when the power comes back on are the worst. Sorry I can't be more
helpful.
Ghost - I leave my system on 24/7 so I'm not affected too much with NAS library issues and for the most part it's not a problem, just when I power down

iTunes upgrades also reset the library to the default.

I've searched the web but it appears to be another one of those annoying undocumented "apple standards"

One other thing - do you find there are times when the computer resets the output to its internal speakers?

It happens about 4 days out of 7 (roughly)

I'm using a Schiit Bifrost and it does not need drivers for the Imac, which sees it OK, but it flips back to the internal speakers for no reason.

I'll keep searching and post any results here

Thanks
Willie - on output changing back to internal speakers....YES. Every once in a while, I'll have to reset the output setting either in MIDI or in BitPerfect preferences. Sometimes BitPerfect does not seem to "see" the V-Link 192 or when listening to headphones, the DragonFly. Occasionally the device is not even listed in the Output selection popup and I have to restart BitPerfect and iTunes. Doesn't happen all that often so not that big a deal. Not having much other experience, I just sort of accept this as more or less normal. Let us know if you learn anything. Maybe if you post to Apple support you will learn something.
Ghost - I tried starting iTunes and specifying the library (which I found "how-to" instructions online) and it unleashed the demons again.

Music is safe, but iTunes toasted my genres and playlists - but it does look promising, since after I restarted it remembered the library name :-)

Fortunately you can "import" all the songs from their folders and iTunes will rebuild its libraries (provided you don't use WAV)

At least it's a step in the right direction - sort of a sideways shuffle - NOT BACKWARDS :-()

Last time I tried this it toasted my entire collection and I had to reload.

Once I figure it out I'll post instructions