Are you sure you have lost the music? It may have created a new itunes directory. The original one may still be there. At least the music may be there and you can add it again. Check for a directory called "itunes music"
A program such as copytrans can copy music from your ipod touch. It does cost money (about $20) but it does work.