Since I left the Linux world and became a Mac addict, I've fallen in love with iTunes. It's convenient and easy to use, for the most part. About four years ago, with my MacBook getting low on disk space, I purchased a NAS (network attached storage) device. Basically a big drive that hangs off the ethernet connection to laptop. I had a little trouble in moving my iTunes library from the MacBook to the NAS at that stage, but somehow, it ended up working. Over the last four years, I've added and added music to the point that I've got nearly 1,700 albums (an album is an iTunes unit of grouping of songs, i.e.: a CD) stored in iTunes, all neatly categorized by genre, with counters of how often an album is played, the cover artwork and the lyrics of many of the songs.
Recently my 4 year old NAS (a Synology DS411+II) started running low on disk space and due to it's age was really running slow and one of it's disks was starting to throw errors. Having the funds, I purchased a new Synology DS1618+ with 16Tb of high speed disk in it. I *VERY* carefully copied the iTunes library files from the old NAS to the new one. But as always with the best laid plans of mice and men, the iTunes library file got corrupted. No matter what I did in the way of copying it again, restoring from backups, even rebuilding the library file (losing all the genre, artwork, play count and lyric data) seemed to let me have access to all of the songs.
There's a guy out on the net that writes code in AppleScript to manage iTunes. However, he had nothing to help with what I'm facing. Figures, doesn't it. HOWEVER, he DOES have a bunch of code examples to give do-it-yourself'ers some guidance in doing their own scripting.
I'm an old dog and I shouldn't be able to learn any new tricks, but I'm going to start learning AppleScript and see if I can get iTunes to jump through the hoops that as it should.
frustrated