id3_parser is similar to exif_parser we've previously discussed. The id3_parser() function defined on line 37 checks the file signature and then calls the get_tags() function. The get_tags() function relies on the mutagen module to parse MP3 and ID3 tags:
001 import os
002 from time import gmtime, strftime
003
004 from mutagen import mp3, id3
005
006 import processors .. 037 def id3_parser(): ... 059 def get_tags():