If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Fetch screencaps and import as two separate jobs

RESOLVED FIXED

Status

Webtools
Air Mozilla
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: peterbe, Assigned: peterbe)

Tracking

Trunk
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

3 years ago
Instead of having one cronjob that does::

 ffmpeg -i <url> -r /tmp/screencaps-%d.jpg
 for file in /tmp/screencaps*.jpg:
    Picture.objects.create(file, ...)

We'll have two cron jobs. One that does this::


 ffmpeg -i <url> -r /tmp/screencaps/<id of event>/screencaps-%d.jpg

And another that does this::

 for dir in /tmp/screencaps/
    for file in dir:
        Picture.objects.create(file, ...)
(Assignee)

Updated

3 years ago
Assignee: nobody → peterbe
Status: NEW → ASSIGNED

Comment 1

3 years ago
Commits pushed to master at https://github.com/mozilla/airmozilla

https://github.com/mozilla/airmozilla/commit/05cac66d091df4b31bba84a30f7b72f2c9ead950
fixes bug 1112639 - Fetch screencaps and import as two separate jobs

https://github.com/mozilla/airmozilla/commit/11f560042749a7651f7403029d1924253e8f6e22
Merge pull request #146 from peterbe/bug-1112639-fetch-screencaps-and-import-as-two-separate-jobs

fixes bug 1112639 - Fetch screencaps and import as two separate jobs

Updated

3 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.