PDA

View Full Version : itunes media folder location




Jefferyd32
Aug 15, 2011, 11:41 PM
Is it possible to have two different locations? I want to store my movies on an external HD but keep my music on my MBP. Is this possible?



Omne666
Aug 16, 2011, 04:36 AM
Yep...no issue. But if you have the 'Copy File to iTunes media folder' ticked in preference it'll only add stuff to the one location. I have this off as standard, but turn it on when I add songs so it can organise them. Movies and Tv Shows I keep in a folder structure I like on an external drive.

slothrob
Aug 16, 2011, 06:23 AM
You can also set up two libraries, one on the notebook and the other on the external and switch between them when starting iTunes. If your music collection isn't huge, you can have it in both places. Or you can just put a more limited favorites library on the notebook, so that you have something good, but not everything you own, when you're away from home.

That way you can let iTUnes do all the organization.

maril1111
Aug 16, 2011, 06:25 AM
Yep...no issue. But if you have the 'Copy File to iTunes media folder' ticked in preference it'll only add stuff to the one location. I have this off as standard, but turn it on when I add songs so it can organise them. Movies and Tv Shows I keep in a folder structure I like on an external drive.

Or you could just consolidate the files, which puts it into the itunes media folder and than you copy from there.

Jefferyd32
Aug 16, 2011, 09:25 AM
Yep...no issue. But if you have the 'Copy File to iTunes media folder' ticked in preference it'll only add stuff to the one location. I have this off as standard, but turn it on when I add songs so it can organise them. Movies and Tv Shows I keep in a folder structure I like on an external drive.

so how exactly do I do it. How do I point iTunes to look at two different locations for my movies and music?

Panch0
Aug 16, 2011, 09:46 AM
If you turn off the "copy to library" preference mentioned above, the items will stay where you add them from. This assumes that you are managing the files manually before you add to iTunes.

You can use symlinks to create a mapping of one location to another. So, for movies, you would move your Movies folder from the default location within "iTunes Media" onto your external drive, then you would create a symlink that makes it appear to still be in it's original location. This is an advanced topic, so do some research before doing this, and make sure you have everything backed up before you start!

This would be done from a command line in terminal and the basic command is:
ln -s /physical/folder/Movies /iTunes/location/Movies

I guess that you could also do this with an Alias - right click the new location in Finder and select "Create Alias", then move the alias to the expected location.

Once you do this, you have to make sure that the external drive is Mounted before you open iTunes, otherwise iTunes will think that all of your Movie files are missing.

Really - make sure you understand what's going on with this before you do it, and make sure you are backed up!

Jefferyd32
Aug 16, 2011, 09:52 AM
thanks looks like I'll be doing some research to figure this out a little better. The good news is I think I found a used 2010 mini for $400 so I can use it as an always on server and just move my whole library rather than splitting it up.

Omne666
Aug 16, 2011, 11:39 AM
I
You can use symlinks to create a mapping of one location to another. So, for movies, you would move your Movies folder from the default location within "iTunes Media" onto your external drive, then you would create a symlink that makes it appear to still be in it's original location. This is an advanced topic, so do some research before doing this, and make sure you have everything backed up before you start!

This would be done from a command line in terminal and the basic command is:
ln -s /physical/folder/Movies /iTunes/location/Movies

I guess that you could also do this with an Alias - right click the new location in Finder and select "Create Alias", then move the alias to the expected location.

Once you do this, you have to make sure that the external drive is Mounted before you open iTunes, otherwise iTunes will think that all of your Movie files are missing.

Really - make sure you understand what's going on with this before you do it, and make sure you are backed up!


Okay...first I've heard of Symlinks. My question would be...Why? You dont need to do this so what advantage does it give you? As you say, an alias would do the same. And again I'd ask...Why?? Just drop the movies onto iTunes and your done.

Panch0
Aug 16, 2011, 12:02 PM
Okay...first I've heard of Symlinks. My question would be...Why? You dont need to do this so what advantage does it give you? As you say, an alias would do the same. And again I'd ask...Why?? Just drop the movies onto iTunes and your done.

I started using symlinks because I was having problems with Aliases returning after a reboot. I may have been doing something else incorrectly that caused that, but I had abandoned aliases by then. Somehow the symlink feels like a more permanent solution, but I don't know what an Alias actually does under the hood so maybe they are really identical.

Drag & drop works fine for movies you acquire & manage outside of iTunes. I think I mentioned that.

What happens when you buy a movie from the iTunes store though? It gets stored in your default library location. If you replace the Movies Folder in the iTunes media location with a symlink or alias to a folder on another drive, the purchased movie will be stored on the external drive.

Omne666
Aug 16, 2011, 07:33 PM
I started using symlinks because I was having problems with Aliases returning after a reboot.

What happens when you buy a movie from the iTunes store though? It gets stored in your default library location.

Interesting. Like I said, never heard of symlinks before. The alias issue you were having...was that on a NAS or across a network? I've never experienced an issue with a locally connected drive, though I have across networks.

Good point on the iTunes movie purchase. I've bought some but usually at some point consolidate it into my movies folder external drive as part of file upkeep.

Will look into this symlink. May solve a network issue a friend of mine has.

Panch0
Aug 17, 2011, 06:54 AM
Interesting. Like I said, never heard of symlinks before. The alias issue you were having...was that on a NAS or across a network? I've never experienced an issue with a locally connected drive, though I have across networks.

Good point on the iTunes movie purchase. I've bought some but usually at some point consolidate it into my movies folder external drive as part of file upkeep.

Will look into this symlink. May solve a network issue a friend of mine has.

Yes, my issues were with reconnecting a share on a NAS. I tried quite a few things, so alias vs. symlink may not have been the difference; I didn't really try to isolate each change. In either case, I think the key is making sure that the target volume is mounted before you try to access it. This is much easier with a direct connected External than with NAS or other network shares.