Where is your computer's backup for all important data, which should include your iTunes library, or did you lose all data on your old computer?
Besides what mentioned above, i like to share you a article about
How to transfer or sync iPhone to new computer, which included transferring iPhone contents to computer/iTunes.
Hopefully this works for all of you like it just worked for me!