django-massmedia
Welcome Guest, login or register
BDFL('s): Justin Quick,
Contributors:

Media file collection app

Repository URL: /projects/public/django-massmedia/

MoreDetails

Massmedia will only work with certain media types (the ones you could embed in a web site). It is not a replacement for an ftp client, users have to upload their files to the site using django's admin interface either in single files or as an archive.

On the server side, the archive is unpacked and a collection (ie gallery,album) is created with a many2many relationship with the media objects it creates. Since we are only dealing with media types, metadata is gathered using the hachoir parser (external module, but not necessary). It is really nice because it stores the info in a pickled dictionary so you can do things like audio_obj.metadata.get('artist',None).
The project also uses a mime_type based widget template scheme for rendering the media objects in templates. This means that you can set which media types get shown with which widget (ie <img/> for images, <embed/> for audio, <object> for flash). The templates are broken down by mime_type so a flash media object would render by default the template found in 'massmedia/application/x-shockwave-flash.html'. Individual media objects can specify a specific template to use, or you can modify the existing widget template.

The FCKEditor plugin is still in the works. More coming soon...