Fixes after merging video branch into master

- 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
This commit is contained in:
Joar Wandborg
2011-11-21 23:18:40 +01:00
parent b9e1fa280e
commit 8e5f974684
9 changed files with 86 additions and 276 deletions

View File

@@ -18,9 +18,7 @@ import os
import sys
MANDATORY_CELERY_IMPORTS = ['mediagoblin.process_media']
print(MANDATORY_CELERY_IMPORTS)
MANDATORY_CELERY_IMPORTS = ['mediagoblin.processing']
DEFAULT_SETTINGS_MODULE = 'mediagoblin.init.celery.dummy_settings_module'