Media.module - for handling audio and video files as well as creating playlists
Alan Evans and I are happy to present the media.module for Drupal 4.6. Developed to address the need for better support of audio and video file handling, it has the following features:
- uses getId3 [1] to read and store the metadata from any audio or video file that is uploaded to a Drupal site via the upload.module
- presents the metadata from all audio and video files in a sortable table
- supports downloading and streaming of media
- introduces a new node type, the media-playlist
Media-playlist nodes are a list of media files that can all be streamed to the client in order. Users can create playlists from existing media files either by creating a media-playlist node and adding media files to it, or by creating a session playlist which only persists as long as the user is logged in. Session playlists can be converted to real nodes at any time.
The code for this module, while functional, is still in an early stage of development and is only tested to work with the current CVS version of Drupal (upcoming 4.6 release). It is therefore only to be found in my sandbox (sandbox/robertdouglass/media), and is not yet released as a module. Feel free to download the code and test it. Documentation will be provided in time.
There is a test site which you may want to visit and try all the features out. Use your Drupal id to log in and you can upload media files and create playlists. There is also a discussion forum where you are encouraged to report problems and make suggestions.