WHO YOU CALLIN YOU PEOPLE?! hehe just kidding
I answered another question that is remotely similar to yours. From all the reading I have done, iTunes does a great job of transferring music *TO* your iPod but is extremely restrictive of transferring music in the opposite direction. iTunes does not have a way to do what you are asking.
I used a program called xPort that extracted all the music on my iPod which put it in a neat little folder at which point, you can tell iTunes to add the contents of this folder into your library on your new MacBook (which btw did you get it replaced?). Anyway xPort was free to download and use. Just do a Google search for it.
I don't know if I am violating Apple TOS by pointing you to a site that has helped me with this very subject but it's worth reading - if for no other reason to give you good information about the mechanics of how iTunes works "under the hood":