How can I change multiple mp3 files name to the artists name in python?

54 views Asked by At

I downloaded mp3 files and a file name is like "asd.com - TheSongTitle". I want to change in order the "asd.com" to the artist name, which is given in the file properties. So I want rename multiple files.

I tried to combinate os.path... and mutagen/TinyTag but failed. I couldn't contact the files names from the os.path... to the mutagen.

0

There are 0 answers