import re

def hueXmas(song,artist,album,genre):

    xmasKeywords=["Christmas","Xmas","stocking","Santa","reindeer", "sleigh","winter","evergreen","magi","chestnut", "jingle","Feliz Navidad"]
    payload=[song,artist,album,genre]
    
    for item in payload:
        for key in xmasKeywords:
        #checks if media data has one of the Xmas keywords in it. The 1st keyword found generates event "Hue.XmasLights".
            if re.search(key,item,re.I):
                vc.triggerEvent("Hue.XmasLights", None)
                vc.callAction("Results.SetVar","nowPlaying&&%s"%song,None)
                return
