beetbox / beets

music library manager and MusicBrainz tagger
http://beets.io/
MIT License
12.84k stars 1.82k forks source link

AVI support #1160

Open Freso opened 9 years ago

Freso commented 9 years ago

I have a few music videos in my collection, including a few AVIs. These AVIs exist in MusicBrainz, but are currently being ignored by beets. It would be cool if they could be "tagged" (even if only internally in beets' db) with MB data and generally get managed by beets.

sampsyo commented 9 years ago

Seems reasonable. Do you have any clues about how AVI files store metadata? (Or perhaps they do not, and we'd just be cataloging them in the database?)

Freso commented 9 years ago

Wikipedia mentions RIFF's INFO chunk and embedding XMP. http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/RIFF.html seems to be a list of RIFF INFO tags - I'd say at least IART, INAM/TITL, and YEAR seems fairly safe to use, though I don't know whether INAM and TITL are being used differently in other applications. I would personally be fine with just loading info into the beets db for now at least, but I think I'm going to poke at least mutagen to add AVI/RIFF INFO support as well.

Freso commented 9 years ago

https://bitbucket.org/lazka/mutagen/issue/207/support-riff-info-chunk-metadata-avi-wav