pip install mutagen python import mutagen python from mutagen.mp3 import MP3 audio = MP3("song.mp3") print(audio["title"]) print(audio["artist"]) python from mutagen.flac import FLAC audio = FLAC("song.flac") audio["title"] = "New Song Title" audio["artist"] = "New Artist" audio.save() python from mutagen.mp3 import MP3 audio = MP3() audio.save("new_song.mp3")


上一篇:
下一篇:
切换中文