Boris Bobrov 54b4b28f84 Add new hook for two-step media type checking
Before uploaded media files were checked by extension. This led to
situations when a plugin can support file with specific extension but
doesn't due to lack of codecs, for example. Since the plugin reported
that it supports uploaded file type, the upload was being declared
successful, but transcoding failed.

The failures were not easy to debug.

The change adds a new hook that could allow two-step checking of the
content. The result of the hook execution returns a tuple with
media type name, manager and a callable sniffer, that can be used to
perform probably expensive checks of the content.

Also the change adds implementation of the hook for video.
2015-02-16 13:41:09 +03:00
2013-08-26 14:17:34 -05:00
2015-02-16 13:41:09 +03:00
2014-08-13 19:30:23 +03:00
2014-06-02 10:41:26 -05:00
2013-05-19 13:55:18 +02:00
2014-10-10 14:42:18 -05:00
2013-07-25 14:05:50 -05:00
2014-07-10 10:32:49 -05:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

========
 README
========

What is GNU MediaGoblin?
========================

* A place to store all your different media (photos, videos, audios,
  and more!) thats as awesome as, if not more awesome than, existing
  network services (Flickr, YouTube, etc)
* Customizable!
* A place for people to collaborate and show off original and derived
  creations.  Free, as in freedom.  Were a GNU project after all.
* Extensible: Plugins allow you to add new media types (3d models?
  Presentations and documents?  Yes, and more!) or extend old ones.
* A real community, and we'd love to have you join us!


Is it ready for me to use?
==========================

Yes!


Can I help/hang out/participate/whisper sweet nothings in your ear?
===================================================================

Yes!  Please join us and hang out!  For more information on where we
hang out, see `our Join page <http://mediagoblin.org/join/>`_


Where is the documentation?
===========================

The beginnings of a site administration manual is located in the ``docs/``
directory in HTML, Texinfo, and source (Restructured Text) forms.  It's
also available online at http://docs.mediagoblin.org/ in HTML form.

Contributor/developer documentation as well as documentation on the
project processes and infrastructure is located on 
`the wiki <http://wiki.mediagoblin.org/>`_.
Description
Testing
Readme 45 MiB
Languages
JavaScript 43.9%
Python 43.2%
HTML 9.1%
CSS 1.4%
Shell 0.9%
Other 1.5%