def add_details(file_name, title, artist, album, lyrics=""):
    '''
    Adds the details to song
    '''

    tags = EasyMP3(file_name)
    tags["title"] = title
    tags["artist"] = artist
    tags["album"] = album
    tags.save()

    tags = ID3(file_name)
    uslt_output = USLT(encoding=3, lang=u'eng', desc=u'desc', text=lyrics)
    tags["USLT::'eng'"] = uslt_output

    tags.save(file_name)

    log.log("> Adding properties")
    log.log_indented("[*] Title: %s" % title)
    log.log_indented("[*] Artist: %s" % artist)
    log.log_indented("[*] Album: %s " % album)
def add_details ( file_name , title , artist , album , lyrics = "" ) : tags = EasyMP3 ( file_name ) tags [ "title" ] = title tags [ "artist" ] = artist tags [ "album" ] = album tags . save ( ) tags = ID3 ( file_name ) uslt_output = USLT ( encoding = 3 , lang = u'eng' , desc = u'desc' , text = lyrics ) tags [ "USLT::'eng'" ] = uslt_output tags . save ( file_name ) log . log ( "> Adding properties" ) log . log_indented ( "[*] Title: %s" % title ) log . log_indented ( "[*] Artist: %s" % artist ) log . log_indented ( "[*] Album: %s " % album )
Adds the details to song