import pygn
clientID = '3407104-E4255A7F76297EB4C49C2A9A26112342' # Enter your Client ID here
userID = pygn.register(clientID)
metadata = pygn.search(clientID=clientID, userID=userID, artist='Nelly', album='', track='Hot In Here')
print (metadata)
Im using pygn(pigeon) a python client for gracenote to find missing id3 tags form mp3 files. The code i have prints all the music files metadata to the screen but i only want to print the Track-title, Artist and Album ?
metadata
is a class that is a dictionary containing metadata fields that are available for the queried item.So this should work (untested):