Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EasyID3 is not used for wav files #632

Open
dolkow opened this issue Sep 29, 2023 · 0 comments
Open

EasyID3 is not used for wav files #632

dolkow opened this issue Sep 29, 2023 · 0 comments

Comments

@dolkow
Copy link

dolkow commented Sep 29, 2023

mutagen$ cat demo.py
#!/usr/bin/env python3

import mutagen

for filename in ('tests/data/silence-2s-PCM-44100-16-ID3v23.wav', 'tests/data/silence-44-s.mp3'):
    f = mutagen.File(filename, easy=True)
    print('%-50s TPE1=%-20s artist=%-20s' % (filename, f.get('TPE1'), f.get('artist')))

mutagen$ ./demo.py 
tests/data/silence-2s-PCM-44100-16-ID3v23.wav      TPE1=piman / jzig         artist=None                
tests/data/silence-44-s.mp3                        TPE1=None                 artist=['piman', 'jzig']   

I tried just wrapping f.tags in an EasyID3 wrapper, but it failed ("'_WaveID3' object has no attribute 'read'").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant