my .dv files are videos
authorGuillaume Cottenceau <gcottenc@gmail.com>
Sun, 29 Nov 2009 21:03:42 +0000 (22:03 +0100)
committerGuillaume Cottenceau <gcottenc@gmail.com>
Sun, 29 Nov 2009 21:03:42 +0000 (22:03 +0100)
lib/booh/booh-lib.rb

index 54cc077..a75291d 100644 (file)
@@ -205,7 +205,7 @@ module Booh
         #- /usr/lib/gdk-pixbuf/loaders/libpixbufloader-xpm.so
         if entry =~ /\.(bmp|gif|ico|jpg|jpe|png|pnm|tif|xbm|xpm)$/i && entry !~ /['"\[\]]/
             return 'image'
-        elsif !$ignore_videos && entry =~ /\.(mov|avi|mpg|mpeg|mpe|wmv|asx|3gp|mp4|ogm|ogv|flv|f4v|f4p)$/i && entry !~ /['"\[\]]/
+        elsif !$ignore_videos && entry =~ /\.(mov|avi|mpg|mpeg|mpe|wmv|asx|3gp|mp4|ogm|ogv|flv|f4v|f4p|dv)$/i && entry !~ /['"\[\]]/
             #- might consider using file magic later..
             return 'video'
         else