from tinytag import TinyTag
tag = TinyTag.get('E:\\KwDownload\\song\\G.E.M.邓紫棋-泡沫.mp3')
print(tag.artist)
print(tag.duration)
print(tag.album)
print(tag.title)
'''
tag.album # album as string 专辑
tag.albumartist # album artist as string 作者
tag.artist # artist name as string 专辑
tag.audio_offset # number of bytes before audio data begins
tag.bitrate # bitrate in kBits/s
tag.disc # disc number
tag.disc_total # the total number of discs
tag.duration # duration of the song in seconds歌曲时长
tag.filesize # file size in bytes
tag.genre # genre as string
tag.samplerate # samples per second
tag.title # title of the song 标题
tag.track # track number as string
tag.track_total # total number of tracks as string
tag.year # year or data as string
'''