rllc / llc-archives

Archived sermons, backed by the cloud
https://llc-archives.herokuapp.com
MIT License
1 stars 1 forks source link

Support ID3v1 MP3 tags #40

Closed smcadams86 closed 8 years ago

smcadams86 commented 8 years ago

Problem

Phoenix is storing their MP3 sermons in ID3v1 format, which puts metadata at the very end of the file. Processing is currently relying on metadata to be at the very start of a file.

Possible Solution

If the first part of a MP3 file does not contain a valid MPEG frame, download the last 128 bytes to check for metadata.

See http://id3.org/FAQ