https://bugzilla.wikimedia.org/show_bug.cgi?id=41304

--- Comment #2 from Jan Gerber <jger...@wikimedia.org> 2012-10-24 11:54:06 UTC 
---
Looks like its possible to add this, 3 patches are required to get it to work,
with those in place step 4 could be done to set X-Content-Duration to all
existing Ogg Files.

1) Allow X-Content-Duration to be set in swift config
   https://gerrit.wikimedia.org/r/29768

2) Allow X-Content-Duration to be set in SwiftCloudFiles
   https://gerrit.wikimedia.org/r/#/c/29767/

3) Set X-Content-Duration when adding new Files
   https://gerrit.wikimedia.org/r/29769

4) To set it on old files the best might be to run some job looping over all
ogg files and doing something like:
    for ($alloggfiles as $file) {
        $file->getRepo()->getBackend()->setLength ( $file->getPath(),
$file->getLength() );
    }

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to