Or if it doesn't have any of your music, use a program to get the music off the ipod then import it into itunes. if it won't let you play it, and a message like "this computer is not authorized to play #####(account name) music." go up to authorize and type in your info.
I recently went through this when my hard drive failed and i ahd to re-install Mac OSX