from dejavu import Dejavu
from dejavu.recognize import FileRecognizer, MicrophoneRecognizer
from Tkinter import *
import warnings
import time
warnings.filterwarnings("ignore")

## Main window
root = Tk()
root.title('Name that Song!')
root.geometry('500x500')

config = {
        "database": {
                "host": "127.0.0.1",
                "user": "root",
                "passwd": "<PASSWORD>",
                "db": "dejavu",
                }
}


def pause():
    time.sleep(5)


def start(event):

    if __name__ == '__main__':
        djv = Dejavu(config)
        secs = 8

    song = djv.recognize(MicrophoneRecognizer, seconds=secs)
    if song is None:
        errorlabel = Label(frm, text="Did you play the song out loud so your mic could hear it?")
        errorlabel.pack(side=TOP)
    else:
        print "From mic with %d seconds we recognized: %s\n" % (secs, song)

    if song["song_id"] == 1:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Stressed Out - Twenty One Pilots')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text='Closer - The Chainsmokers')
        recommend2.pack(side=TOP)
    if song["song_id"] == 2:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Mama Said - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text='See You Again - <NAME> ft. <NAME>')
        recommend2.pack(side=TOP)
    if song["song_id"] == 3:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Just Life Fire - P!nk')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text='Hello - Adele')
        recommend2.pack(side=TOP)
    if song["song_id"] == 5:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Dangerous Woman - Ariana Grande')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - Ariana Grande ft. Ninki Minaj")
        recommend2.pack(side=TOP)
    if song["song_id"] == 6:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Into You - Ariana Grande')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Dangerous Woman - Ariana Grande")
        recommend2.pack(side=TOP)
    if song["song_id"] == 7:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='My Humps - The Black Eyed Peas')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Fergalicious - Fergie")
        recommend2.pack(side=TOP)
    if song["song_id"] == 8:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Uptown Funk - <NAME> ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Ride - Twenty One Pilots")
        recommend2.pack(side=TOP)
    if song["song_id"] == 9:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Closer - The Chainsmokers')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Ride - Twenty One Pilots")
        recommend2.pack(side=TOP)
    if song["song_id"] == 10:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='When I Was Your Man - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="It Will Rain - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 11:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='How Deep - <NAME> & Disciples')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Stitches - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 12:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Broccoli - D.R.A.M ft. Lil Yachty')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Do You Mind - DJ Khaled ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 13:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='The Greatest - Sia')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Titanium - <NAME> ft. Sia")
        recommend2.pack(side=TOP)
    if song["song_id"] == 14:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Paradise - Coldplay')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Send My Love (To Your New Lover) - Adele")
        recommend2.pack(side=TOP)
    if song["song_id"] == 15:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Juju On That Beat - <NAME> & Zayion McCall')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Don't Mind - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 16:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Scars To Your Beautiful - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Hide Away - Daya")
        recommend2.pack(side=TOP)
    if song["song_id"] == 17:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='2 Phones - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="<NAME> - Desiigner")
        recommend2.pack(side=TOP)
    if song["song_id"] == 18:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Broccoli - D.R.A.M')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Panda - Desiigner")
        recommend2.pack(side=TOP)
    if song["song_id"] == 19:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Side To Side - <NAME> ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="No Limit - Usher ft. Young Thug")
        recommend2.pack(side=TOP)
    if song["song_id"] == 20:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Hold You Down - DJ Khaled ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Tru - Lloyd")
        recommend2.pack(side=TOP)
    if song["song_id"] == 21:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Let Me Love You - DJ Snake ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Lean On - DJ Snake & Major Lazer")
        recommend2.pack(side=TOP)
    if song["song_id"] == 22:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Cold Water - Major Lazer ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="In The Name Of Love - <NAME> & <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 23:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Toothbrush - DNCE')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Body Moves - DNCE")
        recommend2.pack(side=TOP)
    if song["song_id"] == 24:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Cold Water - Major Lazer ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - <NAME>ande ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 25:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Scars To Your Beautiful - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Don't Wanna Know - Maroon 5")
        recommend2.pack(side=TOP)
    if song["song_id"] == 26:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='One Dance - Drake')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Don't Mind - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 27:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Lego House - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Stitches - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 28:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text="I'm Not The Only One - <NAME>")
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Cold Water - Major Lazer ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 29:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text="Don't Let Me Down - The Chainsmokers")
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Lights - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 30:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Going Under - Evanescence')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Sweet Sacrifice - Evanescence")
        recommend2.pack(side=TOP)
    if song["song_id"] == 31:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Hold Up - Beyonce')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - Ariana Grande ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 32:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Sorry - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Cold Water - Major Lazer ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 33:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='BO$$ - Fifth Harmony')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Sorry - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 34:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Scars To Your Beautiful - Alessia Cara')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="You've Got The Love - Florence And The Machine")
        recommend2.pack(side=TOP)
    if song["song_id"] == 35:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Scars To Your Beautiful - Alessia Cara')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Don't Wanna Know - Maroon 5")
        recommend2.pack(side=TOP)
    if song["song_id"] == 36:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Just Give Me A Reason - P!nk ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Royals - Lorde")
        recommend2.pack(side=TOP)
    if song["song_id"] == 37:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Cold Water - Major Lazer ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="What They Want - Russs")
        recommend2.pack(side=TOP)
    if song["song_id"] == 38:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='I Took A Pill In Ibiza - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Scars To Your Beautiful - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 39:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='What The Hell - Avril Lavigne')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Demons - Imagine Dragons")
        recommend2.pack(side=TOP)
    if song["song_id"] == 40:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Waiting On The World To Change - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Daughters - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 41:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Hotling Bling - Drake')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Uptown Funk - <NAME> ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 42:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='This Is What You Came For - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Faded - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 43:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Treat You Better - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Don't Let Me Down - The Chainsmokers")
        recommend2.pack(side=TOP)
    if song["song_id"] == 44:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Counting Stars - OneRepublic')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Take Me To Church - Hozier")
        recommend2.pack(side=TOP)
    if song["song_id"] == 45:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Scars To Your Beautiful - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - Ariana Grande ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 46:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Scars To Your Beaufitul - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - Ariana Grande ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 47:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Locked Away - R City ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Sorry - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 48:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Rock On - Tucker Beathard')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Backroad Song - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 49:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Cold Water - Major Lazer ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Cake By The Ocean - DNCE")
        recommend2.pack(side=TOP)
    if song["song_id"] == 50:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Cry Me A River - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Not A Bad Thing - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 51:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Hot N Cold - Katy Perry')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - Ariana Grande ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 52:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Side To Side - Ariana Grande ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Cold Water - Major Lazer ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 53:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='I Took A Pill In Ibiza - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Don't Wanna Know - Maroon 5")
        recommend2.pack(side=TOP)
    if song["song_id"] == 54:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='The Greatest - Sia')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Million Reasons - Lady Gaga")
        recommend2.pack(side=TOP)
    if song["song_id"] == 55:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Bartender - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="What Hurts The Most - Rascal Flatts")
        recommend2.pack(side=TOP)
    if song["song_id"] == 56:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Starry Eyed - <NAME>ing')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Anything Could - Ellie Goulding")
        recommend2.pack(side=TOP)
    if song["song_id"] == 57:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Criminal Mind - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Scars To Your Beautiful - Alessia Cara")
        recommend2.pack(side=TOP)
    if song["song_id"] == 58:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Let Me Love You - DJ Snake ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Scars To Your Beautiful - Alessia Cara")
        recommend2.pack(side=TOP)
    if song["song_id"] == 59:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='24K Magic - Bruno Mars')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Blank Space - Taylor Swift")
        recommend2.pack(side=TOP)
    if song["song_id"] == 60:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Treat You Better - Shawn Mendes')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Don't Wanna Know - Maroon 5")
        recommend2.pack(side=TOP)
    if song["song_id"] == 61:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='<NAME> - <NAME> ft. Meghan Trainor')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Scars To Your Beautiful - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 62:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Blank Space - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="All About That Bass - Meghan Trainor")
        recommend2.pack(side=TOP)
    if song["song_id"] == 63:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Summer - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - <NAME> ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 64:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Locked Away - R City ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Scars To Your Beautiful - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 65:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Cold Water - Major Lazer ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - Ariana Grande ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 66:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='So What - P!nk')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Love The Way You Lie - Eminem ft. Rihanna")
        recommend2.pack(side=TOP)
    if song["song_id"] == 67:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Scars To Your Beautiful - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Cold Water - Major Lazer ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 68:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Shake It Off - T<NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Let Me Love You - DJ Snake ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 69:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Die Young - Ke$ha')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Counting Stars - OneRepublic")
        recommend2.pack(side=TOP)
    if song["song_id"] == 70:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Kiss It Better - Rihanna')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Pour It Up - Rihanna")
        recommend2.pack(side=TOP)
    if song["song_id"] == 71:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Love Song - Adele')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Diamonds - Rihanna")
        recommend2.pack(side=TOP)
    if song["song_id"] == 72:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Titanium - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Blank Space - Taylor Swift")
        recommend2.pack(side=TOP)
    if song["song_id"] == 73:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Kiss It Better - Rihanna')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="One Dance - Drake")
        recommend2.pack(side=TOP)
    if song["song_id"] == 74:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Let Her Go - Passenger')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Counting Stars - One Republic")
        recommend2.pack(side=TOP)
    if song["song_id"] == 75:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Hello - Adele')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Skyfall - Adele")
        recommend2.pack(side=TOP)
    if song["song_id"] == 76:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Mercy - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Into You - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 77:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Hotline Bling - Drake')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="One Call Away - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 78:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Hymn For The Weekend - Coldplay')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="One Dance - Drake")
        recommend2.pack(side=TOP)
    if song["song_id"] == 79:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text="Hips Don't Lie - Shakira")
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Moves Like Jagger - Maroon 5")
        recommend2.pack(side=TOP)
    if song["song_id"] == 80:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='The Greatest - Sia')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Sit Still, Look Pretty - Daya")
        recommend2.pack(side=TOP)
    if song["song_id"] == 81:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='In The Name of Love - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Big Girls Cry - Sia")
        recommend2.pack(side=TOP)
    if song["song_id"] == 82:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Drive - Incubus')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Say It Ain't So - Weezer")
        recommend2.pack(side=TOP)
    if song["song_id"] == 83:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Purple Lamborghini - Skrillex')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Starboy - The Weeked")
        recommend2.pack(side=TOP)
    if song["song_id"] == 84:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Thinking Out Loud - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="I'm Not the Only One - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 85:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Black Beetles - Rae Sremmond ft. Gucci Mane')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Counting Stars - One Republic")
        recommend2.pack(side=TOP)
    if song["song_id"] == 86:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Heathens - Twenty One Pilots')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Radioactive - Imagine Dragons")
        recommend2.pack(side=TOP)
    if song["song_id"] == 87:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text="We Don't Talk Anymore - <NAME>")
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="This Is What You Came For Lyrics - <NAME> ft. Rihanna")
        recommend2.pack(side=TOP)
    if song["song_id"] == 88:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Take Me To Church - Hozier')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Mirrors - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 89:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='<NAME> - Desiigner')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Treat You Better - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 90:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Just The Way You Are lyrics - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Thinking out Loud - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 91:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Cheap Thrills - Sia ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Starving - Hailee Steinfeld Grey feat Zedd")
        recommend2.pack(side=TOP)
    if song["song_id"] == 92:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Heathens- Twenty One Pilots')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Adele - Send My Love (To Your New Lover)")
        recommend2.pack(side=TOP)
    if song["song_id"] == 93:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text="Don't Let Me Down- The Chainsmokers ft. Daya")
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="This Is What You Came For - <NAME> ft. Rihanna")
        recommend2.pack(side=TOP)
    if song["song_id"] == 94:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Young M.A - OOOUUU')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Do You Mind - DJ Khaled ft <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 95:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Meghan Trainor - Lips Are Movin')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Gnash - I hate u, I love u")
        recommend2.pack(side=TOP)
    if song["song_id"] == 96:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='<NAME> - What Do You Mean')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="<NAME> - Treat You Better")
        recommend2.pack(side=TOP)
    if song["song_id"] == 97:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Love Yourself - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Let me love you -DJ Snake _ <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 98:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Ride - Twenty One Pilots')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Work from Home - Fifth Harmony ft. <NAME> $")
        recommend2.pack(side=TOP)
    if song["song_id"] == 99:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='No Problem - Chance The Rapper ft. 2 Chainz and Lil Wayne')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - Ariana Grande ft. <NAME>")
        recommend2.pack(side=TOP)
# Grid sizing behavior in window
root.grid_rowconfigure(0, weight=1)
root.grid_columnconfigure(0, weight=1)
## Canvas
cnv = Canvas(root, bg ="white")
cnv.grid(row=0, column=0, sticky='nswe')
# Scrollbars for canvas
hScroll = Scrollbar(root, orient=HORIZONTAL, command=cnv.xview)
hScroll.grid(row=1, column=0, sticky='we')
vScroll = Scrollbar(root, orient=VERTICAL, command=cnv.yview)
vScroll.grid(row=0, column=1, sticky='ns')
cnv.configure(xscrollcommand=hScroll.set, yscrollcommand=vScroll.set)
# Frame in canvas
frm = Frame(cnv, bg="white", relief=SUNKEN)

# This puts the frame in the canvas's scrollable zone
cnv.create_window(250, 0, window=frm, anchor='n')
# Frame contents
T = Text(frm, height=6, width=45)
T.pack(side=TOP)
T.insert(END, "         Welcome to '<NAME>!'\n   Press the button be"
              ""
              ""
              "low to get started!\n")
Listenbutton = Button(frm, text='Start listening', width=10)
Listenbutton.bind("<Button-1>", start)
Listenbutton.pack(side=TOP, padx=2, pady=2)
# Update display to get correct dimensions
frm.update_idletasks()
# Configure size of canvas's scrollable zone
cnv.configure(scrollregion=(0, 0, frm.winfo_width(), frm.winfo_height()))
# Go!
root.mainloop()

from dejavu import Dejavu
from dejavu.recognize import FileRecognizer, MicrophoneRecognizer
from Tkinter import *
import warnings
import time
warnings.filterwarnings("ignore")

## Main window
root = Tk()
root.title('Name that Song!')
root.geometry('500x500')

config = {
        "database": {
                "host": "127.0.0.1",
                "user": "root",
                "passwd": "<PASSWORD>",
                "db": "dejavu",
                }
}


def pause():
    time.sleep(5)


def start(event):

    if __name__ == '__main__':
        djv = Dejavu(config)
        secs = 8

    song = djv.recognize(MicrophoneRecognizer, seconds=secs)
    if song is None:
        errorlabel = Label(frm, text="Did you play the song out loud so your mic could hear it?")
        errorlabel.pack(side=TOP)
    else:
        print "From mic with %d seconds we recognized: %s\n" % (secs, song)

    if song["song_id"] == 1:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Stressed Out - Twenty One Pilots')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text='Closer - The Chainsmokers')
        recommend2.pack(side=TOP)
    if song["song_id"] == 2:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Mama Said - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text='See You Again - <NAME> ft. <NAME>')
        recommend2.pack(side=TOP)
    if song["song_id"] == 3:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Just Life Fire - P!nk')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text='Hello - Adele')
        recommend2.pack(side=TOP)
    if song["song_id"] == 5:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Dangerous Woman - Ariana Grande')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - Ariana Grande ft. Ninki Minaj")
        recommend2.pack(side=TOP)
    if song["song_id"] == 6:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Into You - Ariana Grande')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Dangerous Woman - Ariana Grande")
        recommend2.pack(side=TOP)
    if song["song_id"] == 7:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='My Humps - The Black Eyed Peas')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Fergalicious - Fergie")
        recommend2.pack(side=TOP)
    if song["song_id"] == 8:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Uptown Funk - <NAME> ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Ride - Twenty One Pilots")
        recommend2.pack(side=TOP)
    if song["song_id"] == 9:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Closer - The Chainsmokers')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Ride - Twenty One Pilots")
        recommend2.pack(side=TOP)
    if song["song_id"] == 10:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='When I Was Your Man - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="It Will Rain - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 11:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='How Deep - <NAME> & Disciples')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Stitches - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 12:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Broccoli - D.R.A.M ft. Lil Yachty')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Do You Mind - DJ Khaled ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 13:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='The Greatest - Sia')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Titanium - <NAME> ft. Sia")
        recommend2.pack(side=TOP)
    if song["song_id"] == 14:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Paradise - Coldplay')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Send My Love (To Your New Lover) - Adele")
        recommend2.pack(side=TOP)
    if song["song_id"] == 15:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Juju On That Beat - <NAME> & Zayion McCall')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Don't Mind - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 16:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Scars To Your Beautiful - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Hide Away - Daya")
        recommend2.pack(side=TOP)
    if song["song_id"] == 17:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='2 Phones - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="<NAME> - Desiigner")
        recommend2.pack(side=TOP)
    if song["song_id"] == 18:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Broccoli - D.R.A.M')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Panda - Desiigner")
        recommend2.pack(side=TOP)
    if song["song_id"] == 19:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Side To Side - <NAME> ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="No Limit - Usher ft. Young Thug")
        recommend2.pack(side=TOP)
    if song["song_id"] == 20:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Hold You Down - DJ Khaled ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Tru - Lloyd")
        recommend2.pack(side=TOP)
    if song["song_id"] == 21:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Let Me Love You - DJ Snake ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Lean On - DJ Snake & Major Lazer")
        recommend2.pack(side=TOP)
    if song["song_id"] == 22:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Cold Water - Major Lazer ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="In The Name Of Love - <NAME> & <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 23:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Toothbrush - DNCE')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Body Moves - DNCE")
        recommend2.pack(side=TOP)
    if song["song_id"] == 24:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Cold Water - Major Lazer ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - <NAME>ande ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 25:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Scars To Your Beautiful - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Don't Wanna Know - Maroon 5")
        recommend2.pack(side=TOP)
    if song["song_id"] == 26:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='One Dance - Drake')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Don't Mind - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 27:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Lego House - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Stitches - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 28:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text="I'm Not The Only One - <NAME>")
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Cold Water - Major Lazer ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 29:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text="Don't Let Me Down - The Chainsmokers")
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Lights - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 30:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Going Under - Evanescence')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Sweet Sacrifice - Evanescence")
        recommend2.pack(side=TOP)
    if song["song_id"] == 31:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Hold Up - Beyonce')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - Ariana Grande ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 32:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Sorry - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Cold Water - Major Lazer ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 33:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='BO$$ - Fifth Harmony')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Sorry - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 34:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Scars To Your Beautiful - Alessia Cara')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="You've Got The Love - Florence And The Machine")
        recommend2.pack(side=TOP)
    if song["song_id"] == 35:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Scars To Your Beautiful - Alessia Cara')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Don't Wanna Know - Maroon 5")
        recommend2.pack(side=TOP)
    if song["song_id"] == 36:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Just Give Me A Reason - P!nk ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Royals - Lorde")
        recommend2.pack(side=TOP)
    if song["song_id"] == 37:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Cold Water - Major Lazer ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="What They Want - Russs")
        recommend2.pack(side=TOP)
    if song["song_id"] == 38:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='I Took A Pill In Ibiza - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Scars To Your Beautiful - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 39:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='What The Hell - Avril Lavigne')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Demons - Imagine Dragons")
        recommend2.pack(side=TOP)
    if song["song_id"] == 40:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Waiting On The World To Change - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Daughters - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 41:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Hotling Bling - Drake')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Uptown Funk - <NAME> ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 42:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='This Is What You Came For - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Faded - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 43:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Treat You Better - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Don't Let Me Down - The Chainsmokers")
        recommend2.pack(side=TOP)
    if song["song_id"] == 44:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Counting Stars - OneRepublic')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Take Me To Church - Hozier")
        recommend2.pack(side=TOP)
    if song["song_id"] == 45:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Scars To Your Beautiful - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - Ariana Grande ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 46:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Scars To Your Beaufitul - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - Ariana Grande ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 47:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Locked Away - R City ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Sorry - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 48:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Rock On - Tucker Beathard')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Backroad Song - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 49:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Cold Water - Major Lazer ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Cake By The Ocean - DNCE")
        recommend2.pack(side=TOP)
    if song["song_id"] == 50:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Cry Me A River - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Not A Bad Thing - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 51:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Hot N Cold - Katy Perry')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - Ariana Grande ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 52:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Side To Side - Ariana Grande ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Cold Water - Major Lazer ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 53:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='I Took A Pill In Ibiza - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Don't Wanna Know - Maroon 5")
        recommend2.pack(side=TOP)
    if song["song_id"] == 54:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='The Greatest - Sia')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Million Reasons - Lady Gaga")
        recommend2.pack(side=TOP)
    if song["song_id"] == 55:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Bartender - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="What Hurts The Most - Rascal Flatts")
        recommend2.pack(side=TOP)
    if song["song_id"] == 56:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Starry Eyed - <NAME>ing')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Anything Could - Ellie Goulding")
        recommend2.pack(side=TOP)
    if song["song_id"] == 57:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Criminal Mind - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Scars To Your Beautiful - Alessia Cara")
        recommend2.pack(side=TOP)
    if song["song_id"] == 58:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Let Me Love You - DJ Snake ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Scars To Your Beautiful - Alessia Cara")
        recommend2.pack(side=TOP)
    if song["song_id"] == 59:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='24K Magic - Bruno Mars')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Blank Space - Taylor Swift")
        recommend2.pack(side=TOP)
    if song["song_id"] == 60:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Treat You Better - Shawn Mendes')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Don't Wanna Know - Maroon 5")
        recommend2.pack(side=TOP)
    if song["song_id"] == 61:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='<NAME> - <NAME> ft. Meghan Trainor')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Scars To Your Beautiful - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 62:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Blank Space - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="All About That Bass - Meghan Trainor")
        recommend2.pack(side=TOP)
    if song["song_id"] == 63:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Summer - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - <NAME> ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 64:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Locked Away - R City ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Scars To Your Beautiful - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 65:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Cold Water - Major Lazer ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - Ariana Grande ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 66:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='So What - P!nk')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Love The Way You Lie - Eminem ft. Rihanna")
        recommend2.pack(side=TOP)
    if song["song_id"] == 67:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Scars To Your Beautiful - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Cold Water - Major Lazer ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 68:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Shake It Off - T<NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Let Me Love You - DJ Snake ft. <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 69:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Die Young - Ke$ha')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Counting Stars - OneRepublic")
        recommend2.pack(side=TOP)
    if song["song_id"] == 70:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Kiss It Better - Rihanna')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Pour It Up - Rihanna")
        recommend2.pack(side=TOP)
    if song["song_id"] == 71:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Love Song - Adele')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Diamonds - Rihanna")
        recommend2.pack(side=TOP)
    if song["song_id"] == 72:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Titanium - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Blank Space - Taylor Swift")
        recommend2.pack(side=TOP)
    if song["song_id"] == 73:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Kiss It Better - Rihanna')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="One Dance - Drake")
        recommend2.pack(side=TOP)
    if song["song_id"] == 74:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Let Her Go - Passenger')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Counting Stars - One Republic")
        recommend2.pack(side=TOP)
    if song["song_id"] == 75:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Hello - Adele')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Skyfall - Adele")
        recommend2.pack(side=TOP)
    if song["song_id"] == 76:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Mercy - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Into You - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 77:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Hotline Bling - Drake')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="One Call Away - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 78:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Hymn For The Weekend - Coldplay')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="One Dance - Drake")
        recommend2.pack(side=TOP)
    if song["song_id"] == 79:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text="Hips Don't Lie - Shakira")
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Moves Like Jagger - Maroon 5")
        recommend2.pack(side=TOP)
    if song["song_id"] == 80:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='The Greatest - Sia')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Sit Still, Look Pretty - Daya")
        recommend2.pack(side=TOP)
    if song["song_id"] == 81:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='In The Name of Love - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Big Girls Cry - Sia")
        recommend2.pack(side=TOP)
    if song["song_id"] == 82:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Drive - Incubus')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Say It Ain't So - Weezer")
        recommend2.pack(side=TOP)
    if song["song_id"] == 83:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Purple Lamborghini - Skrillex')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Starboy - The Weeked")
        recommend2.pack(side=TOP)
    if song["song_id"] == 84:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Thinking Out Loud - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="I'm Not the Only One - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 85:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Black Beetles - Rae Sremmond ft. Gucci Mane')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Counting Stars - One Republic")
        recommend2.pack(side=TOP)
    if song["song_id"] == 86:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Heathens - Twenty One Pilots')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Radioactive - Imagine Dragons")
        recommend2.pack(side=TOP)
    if song["song_id"] == 87:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text="We Don't Talk Anymore - <NAME>")
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="This Is What You Came For Lyrics - <NAME> ft. Rihanna")
        recommend2.pack(side=TOP)
    if song["song_id"] == 88:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Take Me To Church - Hozier')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Mirrors - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 89:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='<NAME> - Desiigner')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Treat You Better - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 90:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Just The Way You Are lyrics - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Thinking out Loud - <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 91:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Cheap Thrills - Sia ft. <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Starving - Hailee Steinfeld Grey feat Zedd")
        recommend2.pack(side=TOP)
    if song["song_id"] == 92:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Heathens- Twenty One Pilots')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Adele - Send My Love (To Your New Lover)")
        recommend2.pack(side=TOP)
    if song["song_id"] == 93:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text="Don't Let Me Down- The Chainsmokers ft. Daya")
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="This Is What You Came For - <NAME> ft. Rihanna")
        recommend2.pack(side=TOP)
    if song["song_id"] == 94:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Young M.A - OOOUUU')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Do You Mind - DJ Khaled ft <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 95:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Meghan Trainor - Lips Are Movin')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Gnash - I hate u, I love u")
        recommend2.pack(side=TOP)
    if song["song_id"] == 96:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='<NAME> - What Do You Mean')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="<NAME> - Treat You Better")
        recommend2.pack(side=TOP)
    if song["song_id"] == 97:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Love Yourself - <NAME>')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Let me love you -DJ Snake _ <NAME>")
        recommend2.pack(side=TOP)
    if song["song_id"] == 98:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='Ride - Twenty One Pilots')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Work from Home - Fifth Harmony ft. <NAME> $")
        recommend2.pack(side=TOP)
    if song["song_id"] == 99:
        id = Label(frm, text='Your song:  ' + song['song_name'])
        id.pack(side=TOP)
        recommend = Label(frm, text='Recommended songs:')
        recommend.pack(side=TOP)
        recommend1 = Label(frm, text='No Problem - Chance The Rapper ft. 2 Chainz and Lil Wayne')
        recommend1.pack(side=TOP)
        recommend2 = Label(frm, text="Side To Side - Ariana Grande ft. <NAME>")
        recommend2.pack(side=TOP)
# Grid sizing behavior in window
root.grid_rowconfigure(0, weight=1)
root.grid_columnconfigure(0, weight=1)
## Canvas
cnv = Canvas(root, bg ="white")
cnv.grid(row=0, column=0, sticky='nswe')
# Scrollbars for canvas
hScroll = Scrollbar(root, orient=HORIZONTAL, command=cnv.xview)
hScroll.grid(row=1, column=0, sticky='we')
vScroll = Scrollbar(root, orient=VERTICAL, command=cnv.yview)
vScroll.grid(row=0, column=1, sticky='ns')
cnv.configure(xscrollcommand=hScroll.set, yscrollcommand=vScroll.set)
# Frame in canvas
frm = Frame(cnv, bg="white", relief=SUNKEN)

# This puts the frame in the canvas's scrollable zone
cnv.create_window(250, 0, window=frm, anchor='n')
# Frame contents
T = Text(frm, height=6, width=45)
T.pack(side=TOP)
T.insert(END, "         Welcome to '<NAME>!'\n   Press the button be"
              ""
              ""
              "low to get started!\n")
Listenbutton = Button(frm, text='Start listening', width=10)
Listenbutton.bind("<Button-1>", start)
Listenbutton.pack(side=TOP, padx=2, pady=2)
# Update display to get correct dimensions
frm.update_idletasks()
# Configure size of canvas's scrollable zone
cnv.configure(scrollregion=(0, 0, frm.winfo_width(), frm.winfo_height()))
# Go!
root.mainloop()

## Main window # Grid sizing behavior in window ## Canvas # Scrollbars for canvas # Frame in canvas # This puts the frame in the canvas's scrollable zone # Frame contents # Update display to get correct dimensions # Configure size of canvas's scrollable zone # Go!