My history playlists disappeared when I moved Itunes to an external drive!

Moved my Itunes library to an external drive and now all my history playlists are gone, how do I get them back? Also, I can’t use my Itunes library, how can I get Djay pro to get the data from the external drive instead?