Browse files

Don't exclude any video formats.

Video's will be fed appropriately from the cache instead, so
the .js code needs to fetch the right cache/recode. So, we
no longer exclude any video formats from the db.
  • Loading branch information...
1 parent 77cfac2 commit c0fbb335824a923efba3fd81ee9ce9146ea1d2c4 @sofar committed Oct 9, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 db.php
View
6 db.php
@@ -97,14 +97,16 @@
# ignore a few filetypes.
$pi = pathinfo($image);
- switch(strtolower($pi['extension'])) {
- case 'avi':
+ switch (strtolower($pi['extension'])) {
case 'thm':
case 'nef':
$image = readdir($ih);
continue;
}
+ # now we just include the original video, let the .js code
+ # handle getting the recoded video versions.
+
$a .= "{ name: '" . $image . "'";
# store original date of the file

0 comments on commit c0fbb33

Please sign in to comment.