I found this post from a long time ago:
iTunes will only give you the option to copy your iTunes Store purchases directly from an iPod to the computer, you'll find details in this article: Copying iTunes Store purchases from your iPod or iPhone to a computer
For everything else (music from CDs, other downloads etc) there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. You'll find that they have varying degrees of functionality and some will transfer movies, videos, photos, podcasts and games as well. You can read reviews and comparisons of some of them here:
A selection of iPod to iTunes utilities:
TuneJack Windows Only (iPhone and iPod Touch compatible)
SharePod Windows Only (iPhone and iPod Touch compatible)
iPod2PC Windows Only
iDump Windows Only
YamiPod Mac and Windows
iPod Music Liberator Mac & Windows
Floola Mac & Windows
iPodRip Mac & Windows (iPhone and iPod Touch compatible)
iPod Music Liberator Mac & Windows (iPhone and iPod Touch compatible)
Music Rescue Mac & Windows (iPhone and iPod Touch compatible)
iGadget Mac & Windows (iPhone and iPod Touch compatible)
iRepo Mac & Windows (iPhone and iPod Touch compatible)
iPod Access Mac & Windows (iPhone and iPod Touch compatible)
TouchCopy Mac & Windows (iPhone and iPod Touch compatible)
There's also a manual method of copying songs from your iPod to a Mac or PC. The procedure is a bit involved and won't recover playlists but if you're interested it's available on page 2 at this link: Copying Content from your iPod to your Computer - The Definitive Guide
The following does not apply to the iPod Touch:
That is unfortunate. You would need to find another PC and use one of the above Windows utilities. Then, copy all the music that wasn't purchased through iTunes to a Mac.
At that point you can sync the Touch to your new MacBook, which must first erase it in preparation for syncing. Then, you can download all your previous purchases (music, apps, movies) as well.
One way or another you will have to erase the Touch's content so try to transfer everything on it while you can.
Before you connect your iPod to your Mac, you must ensure that iTunes won't attempt to sync with your iPod. If it does, it might delete all of the data on your iPod. Why? Because at this point, your iTunes library is missing some or all of the songs or other files on your iPod. If you sync your iPod with iTunes, you'll end up with an iPod that's missing the same files your iTunes library is missing.
Maybe it will help you
1.Download and install Senuti.
2.Open Senuti and familiarize yourself with its interface.
3.From the Senuti menu, select Preferences. Select Copying.
4.Connect the iPod to your Mac if you haven't already done so.
5.In the Source side-bar, click Library. Unlike iTunes, Senuti uses Library to refer to your iPod's collection of music. After you click Library, you should see the songs on your iPod.
6.Select the songs you want to copy to your Mac.
7.Click the Copy button in the upper right-hand corner of the screen. Senuti will move the music from the iPod to your Mac.
Know more about how to sync music from iPod to PC, which included the detailed tutorials of how to transfer or backup your music from iPod to PC.
Hope it can do you a favor.
If you've purchased the music from itunes, when you plug the iPod in to the pc, it'll ask if you want to transfer purchases to the computer.
Due to the restriction ,we can only transfer our music from PC to iPod , but not transferring from iPod to PC if you’ve not purchased them .In this case, transferring your files from iPod to computer can be a hassle , I think you will need a practical third-party solutio.
In order to find out how to transfer music from iPod to computer, you need to seach more information on the internet.