KristoforMaynard / music-tag

Simple interface to edit audio file metadata
MIT License
124 stars 19 forks source link

Tagging a wave file not working§ #27

Open ben-hearn-sb opened 2 years ago

ben-hearn-sb commented 2 years ago

Hello!

I have just tried using your library and tried to add ID3 tags to a wave file and it does not seem to be working, I am wondering if I am using it correctly for wavs? Is there anything special that needs to be done in order to get this to work with wave files?

EDIT: On further investigation and looking through your test code, I managed to print out the tags on the file. They are there however Rekordbox does not read them in as it should do. What version of ID3 does the library use?

Really good idea with the library, epic initiative :)

def test_tag():
    p = '/Users/benhearn/Music/test_folder/renaming_cells/Harry Wills - Slink .wav'
    import music_tag
    wav = music_tag.load_file(p)
    wav['title'] = 'Slink'
    wav['artist'] = 'Harry Wills'
    wav.save()
    print('done')
ProfMoo commented 2 years ago

Thanks for the issue, I believe I am experiencing the same issue. Did you ever find any more info here?

ben-hearn-sb commented 2 years ago

No I did not. I ended up using FFMPEG to write and FFPROBE to read the wav file metadata in the end