Putting iTunes on my NAS

So far so good.

The tools I have used are Dupin2, TuneUp, and an interminable series of iTunes versions. Also in the mix, the embedded iTunes server on my Western Digital MyBook Live.

Briefly, I used Dupin2 to analyze my MacBook Pro iTunes library for possible duplicates.  There were a lot of false positives at this stage, because y library was all hosed from years of dumping and insufficient curation of my stuff.  Turn Dupin2 loose on your library, and then inspect the results — take no action on the first several passes.  This is a laborious process, and I had to get comfortable with tuning the thing in order to start seeing the results I wanted.  Of course, what makes this valuable is that we have the ability to tune it, unlike iTunes.  Eventually, I reached a risk/reward decision point, and pressed PURGE.  Dupes nuked.

Then, I used TuneUp to attempt to fix as many tracks as possible.  TuneUp is an awesome piece of software, and there is a reason it rakes in the dough hand over fist.  They want twenty bucks for it, and they get it every time.  You want something to fix your iTunes metadata?  THIS IS IT.  Pay up or keep suffering.

Then I used Dupin2 once again to detect dupes now that the metadata is right.  This turned up a larger number than I suspected it would, which is a testament to TuneUp’s superior ability to ferret out the true identity of tracks in your library.  Again, there are a lot of false positives, which is fine — tune and inspect, then execute.

Satisfied that the MBP iTunes library was as good as it was going to get for the time being, I restarted the machine and told Time Machine to take a backup.  I hadn’t restarted in several months, so that was a little troublesome, but there were no real problems).

The goal of this is to get my stuff up on the NAS and see if I can have a dedicated MacBook Pro run the library, while clients connecting to the network have the same collection streamed to them by the embedded iTunes server on the NAS; not from the MBP.  One very large reason for this is that I cannot sync my iPhone to the NAS.  I need the MBP as an authoritative central point.

One huge wrinkle on all of this is that I already have a very large collection of music on the NAS.  Several, in fact, with a large percentage of duplicates, many of those duped many times over.  So right now, I have satisfactorily organized the library on the MBP, and am working on the NAS itself.  Why?  I know that there is a lot of music on the NAS which was not present on the MBP, and I would like to keep it.  But only one copy, and without all the stuff that’s already present on the laptop.

So I Option-clicked iTunes to make it start up and ask me about a library, and I pointed it to the existing poorly set up one on the NAS.  If that library had not been there, I could easily have created on at this point.  But it was there, and it sits in a folder on top of a large collection of music which is A) not in the library itself (has not been processed in), and B) not even the majority of what is on the NAS.  So we’re starting small, with about 100GB of music; just the stuff in the folders under the “proper” iTunes folder on the NAS.  There’s a lot more up there, though, including other attempts at setting iTunes on the NAS (I didn’t realize how much of it was already done for me or where I had to dump the stuff), and several dumps of refugee volumes of music rescued from various dying computers.

There’s also a bunch of files collected along the way which have never been in an iTunes library.  I was a WinAmp guy for a while; had a whole shard on a USB stick with WinAmp actually ON THE STICK, so it was portable, metadata and all.  Until the stick came undone, and I lost everything.  Unfortunately, that stick had been the result of about a year’s worth of merging and pruning, so that what remained on the drives which originally sourced that material was three large collections of highly overlapping track sets.  I dug out those drives, dumped it all on the NAS, backed THAT up once to the other NAS, and trashed the drives.  Never looked back until now; hadn’t been able to get my motivation up for the task.

So-o-o-o right now the MBP is chewing through a large part of a much larger collection up on the NAS.  It has “processed” all the files in the NAS’s proper iTunes Library folder, and is now “organizing” them, which I think involves taking each file and poking in a /artist/album/file.mp3 structure.  Whatever, it’s not my problem.

Let the machine do the work.   Been running about six hours, and a thumbnail estimate of the progress bar says it’s  maybe fifteen to twenty percent done.  Tomorrow after work, perhaps it will finish.  If not, no sweat.  It will finish someday, and if it hangs, I can just restart the whole process; since the changes are being written to disk, it should do maybe an hour of “processing” to see where everything is, and then resume wherever it crashed.  if it crashes; which has not been happening recently.

Just a peek ahead: the MBP library is now in a very good state.  I’ll append the text MBPXYZ or some such in the comments field of EVERY track on the MBP as an explicit marker of the track’s “blessed” status.  The NAS iTunes proper library is getting its first cleanup.  When that’s done, I’ll back that up to the second NAS.  Then the NAS library will get the Dupin2, TuneUp, Dupin2 treatment.  This will all be run on the MBP as it administers the NAS library — during the whole NAS grooming process, the MBP’s own local native library is disconnected from the iTunes app.  Then those NAS tracks will get the TENXYZ comment (the NAS’s device name on the network is ‘Tenshi”.  I’ll begin importing the heathen tracks from the trackless wastes in all the wrong places on the NAS.  This will be done in batches (same way I did it on the MBP), which works very well, and then those will be bounced against the TENXYZ tracks; TENXYZ comment wins the dupe contest.

Finally, I’ll have to consolidate the MBP library and newly groomed NAS library.  Notice something?  So far, nothing has moved across the network.  No files, that is, only metadata about those files, which is nominally an order of magnitude or two smaller than the files themselves.  I definitely want to reduce as much as possible the sizes of the libraries involved before i start doing network moves.  I will probably move the MBP library up in chunks (ask me about magic folders, a.k.a. brilliant playlists), and do dupe checking in increments.  but we’ll see how it goes (a long time from now), and adjust as necessary.

Excited about this.  Hope it all works.  So far, so good!

 

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *