aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/processing.py
Commit message (Collapse)AuthorAgeFilesLines
* Turn processing.py into a submodule.Elrond2012-03-211-154/+0
| | | | | | | | | | | processing.py -> processing/__init__.py This is in preparation for splitting processing a bit. The main reason for the split is celery setup: celery needs to be setup before even importing and importing and subclassing some of its parts. So it's better to move the critical parts into their own submodule and import it as late as needed.
* Create atomic_update db utility functionElrond2012-03-041-9/+9
| | | | | | | | | In some cases (notably the mark_entry_failed function) it is useful to have atomic update functionality on the db. On mongo this requires special syntax. So created an atomic_update function for mongo and started to use it in mark_entry_failed.
* Let mark_entry_failed log unknown exceptionsElrond2012-02-271-0/+1
| | | | | | | | I don't know exactly why, but an exception during processing hasn't found its way up. The entry was marked as failed and that was it. So I decided to add a _log.warn to the part of mark_entry_failed that handles general exceptions.
* ASCII media support - FixesJoar Wandborg2012-02-041-1/+11
| | | | | | | - Added debug logging in - mediagoblin.processing - mediagoblin.media_types.ascii.processing - mediagoblin.media_types.ascii.asciitoimage
* It's 2012 all up in hereChristopher Allan Webber2012-02-021-1/+1
|
* Dot-Notation for MediaEntry.stateElrond2012-01-041-1/+1
|
* Dot-Notation for MediaEntry.media_typeElrond2011-12-051-2/+2
|
* Fixes for video branchJoar Wandborg2011-11-221-1/+1
| | | | | - Removed superfluous code from media_types.image - Updated lazy_pass_to_ugettext imports
* Fixes after merging video branch into masterJoar Wandborg2011-11-211-0/+143
- Removed debug output from init/celery - Moved process_media/__init__ to processing.py - Centralized the processing.ProcessMedia task class - Updated media managers to reference the processing function instead of the ProcessMedia instance - Updated new-style image processing to previous, newer old-style image processing - Updated video transcoding - Changed method in progress output, sometimes message.structure['percent'] raises KeyError