Sorted.
As I may have mentioned elsewhere on this board

I downloaded Music Rescue from the Apple Store and copied all the songs from my iPod back to the computer. I then dragged them all from the hard drive to a new iTunes library.
It was a slow process that maybe could have been quicker if I'd read the instructions. (I'm an Aries: We Arians don't do instructions)
I commend this download, which costs £10 in the UK but I'm sure is equally affordable from the US store.