python - Adding tags to mp3 with eyed3 results in no change -


i trying add tags (title, genre, etc.) mp3 file downloaded created urllib in python. using eye3d , example website, program runs without errors, doesn't seem anything. when checking details of file, title, artist , else stays empty before.

using example:

import eyed3  audiofile = eyed3.load("song.mp3") audiofile.tag.artist = u"nobunny" audiofile.tag.album = u"love visions" audiofile.tag.album_artist = u"various artists" audiofile.tag.title = u"i girlfriend" audiofile.tag.track_num = 4  audiofile.tag.save() 

am missing something?

i had same problem. worked me add file's path in save() function:

    audiofile.tag.save(filename) 

in example filename "song.mp3".


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -