No idea if this is possible (not familiar with how libgpod emulates iTunes) but it seems that the Genius feature - the ability to select a single song and then create a playlist of similar songs based on it - is similar to the functionality of sites such as last.fm. Obviously iTunes uses the music store to decide what constitutes "similar songs", but perhaps a more freely available resource could be used by libgpod to perform the same function.