itunes music folder


munglani

Recommended Posts

I've been thinking about this quite a fair bit as my girlfriend has a Windows laptop and I have a MacBook Pro. We both have libraries on our devices and I want to find a way that we both share a central music library that we can take away with us.

I have a file server on the local network and could use rsync, Windows sync or other such tools to keep the libraries up-to-date which is great for desktops but for devices that both roam and want to be able to access the library whilst roaming this won't work.

I think BitTorrent Sync has a lot of promise for providing a solution for synchronising the music itself but I don't think any solution will work for the iTunes library.

Here's the scenario:

  1. Laptop A and Desktop B initially sync their iTunes libraries together on the local network
  2. Laptop A goes roaming
  3. An album is deleted from Laptop A
  4. A CD is imported on Desktop B
  5. Laptop A rejoins the network
  6. Both devices sync together

And this is what you will most likely see on both devices:

  • The deleted album will be removed from the Music folder but will still exist in the library
  • The CD will be on the file system and in the library on both devices

This is because the iTunes library is a series of XML files so the file with the most recent modified timestamp will win.

I'm going to carry out some testing though as iTunes keeps a separate XML file the library itself, deletions, additions, last played and last modified. In theory, if both of the devices have active network connections at the time things are changed (and the ports are open on the home network firewall) then changes shouldn't build up and everything may well be synced together nicely albeit have the potential to consume a lot of data.

In reality though I think most changes (even playing a song counts as a change) would be made offline on the laptop and cause pretty big headaches when its time to sync up.

It would be absolutely wonderful if iTunes had a built-in watch feature (the Automatically Add folder moves music out when added) that can keep an eye on the music folder and update the library automatically. Alas, the feature doesn't exist and someone has yet to write a nice piece of software that does the job well.

In summary, I think it will useful for syncing the music itself between all of the devices but each library will need agreed human interaction to keep it happy.

Sorry. No easy solution.

Link to comment
Share on other sites

  • 2 weeks later...

I wonder if this would work better if one agrees that changes only happen on one computer. I have a laptop that I bring to the office and travel with, and then I have a user account on my girlfriend's desktop at home. I'd like to have my laptop music folder on the desktop as well for playing music at home if my laptop is at the office. I could in theory sync the folders with BitTorrent Sync, and then only add music on one of them. I guess that still leaves the issue with play count and stats adding up on both and causing confusion.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.