django-massmedia is a Django app that allows for site staff to upload and edit the media files through the site, and the filesystem is maintained in the background. Media may be uploaded by file or archive. Metadata is gathered using the Hachoir Library.
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.
What is new in this release:
- New settings format:
- All settings are contained within MASSMEDIA_SETTINGS, MASSMEDIA_STORAGE, and MASSMEDIA_UPLOAD_TO. Old settings will work, but will raise a deprecation warning.
- New settings:
- MASSMEDIA_SETTINGS["USE_TAGGING"] and MASSMEDIA_SERVICES["YOUTUBE"]
- Support for YouTube feeds as collections
Requirements:
- Python
- Django
Comments not found