• AM

[ p l a c i d c h a o s / A M ]

animation ninja in training

  • Home
  • Contact
  • Log in

I'm a genius!

February 3rd, 2007

OK, so maybe not, but after an agonizingly long night I did figure out how to sync my iTunes library between Mac/PC operating systems on my Mac Pro running Boot Camp.

Thanks to the untimely demise of my PC, a few months ago, I purchased a Mac Pro and have since been searching (to no avail) for a way to share the same iTunes library on both the Mac and PC side of my machine. This way if I import CDs while booted into Tiger, or change ratings and create playlists while in XP, any changes will be automatically reflected in the iTunes library on the other operating system.

I knew, when originally formatting my Mac Pro's drives, that this was something I was going to want to do so I created a FAT32 partition for my music library to reside on. This would allow both Tiger and XP (still waiting on my Vista disc to arrive, hello Microsoft...) the ability to read/write the same files. I then thought that all I would have to do is change the iTunes Music folder location on both OS's to a folder on the FAT32 drive and that iTunes on both OS's would read/write the same library file on that drive. Ha, to be so naive.

It turns out that the PC version of iTunes cannot, by default, read the library created by the Mac, and vice versa. Rather than use the library created by the other OS, iTunes creates a new (and empty) library file. This was very frustrating and so for a month or so I gave up trying because:
A) I was busy with work and Christmas stuff
B) I'm not much of a hacker/programmer

Lately, though, this has really been grating me as I'm constantly listening to music and I'm obsessive compulsive when it comes to my music being organized; so with all the work I have to do this weekend I decided that the best way to procrastinate would be to figure this out.

After playing around with a bunch of different ideas I discovered that, low and behold, iTunes on the PC could read the Mac created library if I added the .itl extension to the library file, and the Mac could read the PC created library file if I removed the .itl extension. Score!

Now that the biggest obstacle was hurdled all I had to do is figure a way to copy the library file from the Mac side to the PC side and again... vice versa. Since I don't know jack about DOS programming except for basic commands this part took longer that I'd like to admit but after some trial and error I managed to create a solution that works flawlessly. The best part is that since I'm smart (or lazy) I created two batch scripts that run automatically, one at Windows startup and the other at Windows shutdown, so I never have to touch anything to keep them synced.

If you're interested, here are the steps...
Caution:
Proceed at your own risk, I take absolutely no responsibility for any loss of files or life, or any other undesirable consequences that you may incur when attempting these instructions. So be smart, use your discretion and have backups of everything on a separate disc/partition.

1) Format a FAT32 partition large enough (including growth room) for the iTunes Music folder containing all your music files. This will allow both the Mac and PC to read/write the music files and also to the iTunes Library file.

2) In iTunes' Preferences, under Advanced > General, set the iTunes Music folder location to the Fat32 partition. Make sure that you have 'Keep iTunes Music folder organized' and 'Copy files to iTunes Music folder when adding to library' both checked. Do this step on both the PC and Mac side.

3) Since the batch scripts are executed in Windows, the Mac library file needs to be on a Windows accessible drive. I have my Mac iTunes library file set to reside in the iTunes folder on the FAT32 drive rather than the default location in the Music folder on the main Mac drive. The PC library resides in its default location.

4) Set your library up on the Mac side of things and get it the way you want it, we're going to start the whole cycle by copying the Mac library file over to the PC.

5) Here is the code for the script that runs on XP startup:

copy /Y "E:\iTunes\iTunes Library" "G:\My Music\iTunes\"
ren *. *.itl
copy /Y "E:\iTunes\iTunes Library.xml" "G:\My Music\iTunes\"
cls
exit

This copies the Mac created iTunes library file and XML file from the FAT32 disc (E:) and pastes it in the iTunes folder on the PC side (G:) and then adds the .itl extension to the pasted library file so that the PC version of iTunes can access it.
Normally the path to the XP iTunes library file would look more along the lines of...
C:\Documents and Settings\user name\My Documents\My Music\iTunes
... but I have my G: drive set to be my 'My Documents' folder.

Once this script runs, iTunes in XP can read the library and any changes that were made to the library on the Mac side will be reflected on the PC. Excellent, but only half the battle. For the Mac iTunes to be constantly updated we need a script that will copy the PC iTunes library back over for the Mac to read.

The code for the script that runs on XP shutdown:

ren *.itl *.
copy /Y "G:\My Music\iTunes\iTunes Library" "E:\iTunes\"
copy /Y "G:\My Music\iTunes\iTunes Library.xml" "E:\iTunes\"
cls
exit

This cuts the extension off the library file in the PC folder and then copies it and the XML file back over to the FAT32 drive for Mac iTunes to use.

I have both scripts saved as .bat files in the PC iTunes folder with the first one set to run automatically at XP startup and the second at XP shutdown, effectively ensuring that regardless of the OS you boot into the iTunes library file you have is the most current.

It should be noted that I'm actually not a genius and there may be a better or more efficient way to accomplish synced iTunes libraries across different OS's on the same machine, but this is the only way that I've found to work flawlessly and automatically for my 10,000+ song, 50GB library. If you find a better way please leave a comment, otherwise enjoy!

Posted in Random | 3 feedbacks »

Week 8 face poses

August 21st, 2006

week 8 face poses - Good Charlotte

I know my dude on the left needs his top lip tucked in a bit more, but that's a limit of the rig. Now to just add some tats...

Posted in Animation Mentor, Sketches | 7 feedbacks »

Week 7 face poses

August 15th, 2006

week 7 face poses - Kate Holmes, Crazy Face

Posted in Animation Mentor, Sketches | Send feedback »

Week 6 face poses

August 9th, 2006

week 6 face poses - John Belushi

I had a lot of trouble with the second pose and I'm still not happy with it, though I can't figure out what to fix. Suggestions welcomed.

Posted in Animation Mentor, Sketches | 3 feedbacks »

Week 5 face poses

August 4th, 2006

week 5 face poses

This semester we are to create two faces poses a week to help us become comfortable posing the face. I'll be posting mine as I go along, and as always, crits and comments are encouraged.

Posted in Animation Mentor, Sketches | 9 feedbacks »

1 2 3 4 5 6 7 8 9 10 >>
  • March 2010
    Mon Tue Wed Thu Fri Sat Sun
     << <   > >>
    1 2 3 4 5 6 7
    8 9 10 11 12 13 14
    15 16 17 18 19 20 21
    22 23 24 25 26 27 28
    29 30 31        
  • [ p l a c i d c h a o s / A M ]

  • The fundamental purpose for the existence of this site is to serve witness to my transformation from that of a wannabe animator, wallowing in the mud puddles of Columbus, to a highly skilled animation ninja, stealthily leaping from palm tree to palm tree on the West Coast.

    In other words... I am going to post work and such from my studies in animation at Animation Mentor. If you are unfamiliar with AM, it is a totally sweet online animation school that is taught solely by industry professionals, (none of that "Those who can, do; those who can't, teach." stuff). Even though it's an online course, it is easily the best education I have received, as it's structured amazingly well, so check them out!

    In case you are sitting there wondering why I would go to all the trouble of slaving away for hours on end trying to learn how to make a ball bounce convincingly, it's because I am enamored with the power of animation. No, I am not saying that I'm power hungry or want to rule the world, so chill with the eye-rolling; what I mean is that animation has a connection with people that is truly rare. Music and live action films can certainly impact people emotionally, but a song or film usually has a very specific audience that it pertains to. With animation, you can sit in a theater and witness a diverse crowd of young/old, Christian/Muslim, and white/black, taken from gut-splitting laughter to tears in a matter of minutes. The only thing I've ever witnessed that impacts such a broad audience is a fireworks show. Everyone regardless of age, race, or creed goes "ooh" and "ahh," (and while I am a pyro, I figure that animation is a safer career choice). Something I consider to be a major perk to being an animator is that you're not continuously doing the same thing; there are always different scenes or characters to live out. To be able to do this effectively you must train yourself to observe the world around you that everyone else seems to flies past. Observation is easy, you just have to stop and watch; the challenge is being able to take the essence out of what you just witnessed and apply it to otherwise inanimate binary code or drawings.

    Aren't I eloquent?

    The real deal, Walt Disney, said it best; "I am interested in entertaining people, in bringing pleasure, particularly laughter, to others, rather than being concerned with 'expressing' myself with obscure creative impressions." (Eisner should take note)

    Enough of my rambling, I think you get the gist of the site and why I want to become an animation ninja. Always feel free to post comments, crits, or questions, however I retain the right to edit/delete any comments found objectionable or profane, so keep it appropriate.

    Hang loose, brah!

    "You see, we're on a mission from God." -Elwood, Blues Brothers

    Quality Reads

    • Recently
    • Archives
    • Categories
    • Latest comments
  • Search

  • Categories

    • All
    • Animation Mentor
      • Assignments
      • Notes
      • Overachiever
      • Sketches
    • Random
  • The requested Blog doesn't exist any more!
  • XML Feeds

    • RSS 2.0: Posts, Comments
    • Atom: Posts, Comments
    What is RSS?
free blog tool

©2010 by Ryan Scott | Contact | Design by Michael | Credits: blog software | web hosting | monetize