Views
Description
Members can add audio files (MP3) to their member and group folders and these files can be downloaded or made available as a stream to website visitors.
It should be possible to extract the ID3 tags from the MP3 file when it's uploaded and the audio files can be served up by streaming tools.
When the user wants to listen to the audio file, he can choose to either download the file in its entirety or have it streamed to his media player software.
The uploaded audio files should be stored on the file system so that they are accessible to other 3rd party applications that can index and serve the audio files more efficiently. This is important for scalability and also for generating charts of the most popular songs.
We need to decide if we want to support all audio file types (Windows Media, RealPlayer?, OGG), or only MP3.
See also [Streaming and Netradio]?
Implementation
We were previously using a repurposed CMFExternalFile, but have since created a new product called ATAudio which is an Archetypes-based content type repurposed from ExternalExample? included in the ExternalStorage? product.
The Archetypes approach is the preferred one (for a number of reasons), but also is the most work since it hasn't been fully tested and accepted yet.
Paul Winkler recommends storing the audio files in the ZODB but using DirectoryStorage? and Andy McCay comments on the new version of DirectoryStorage
Products
- ATAudio
- LocalFS
- MP3Info.py is a python class for handing of the ID3 tags.
Other products
No longer being considered, but left here for historical reasons.