projects
/
booh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ae88f9
)
try more videos formats
author
gc
<gc>
Fri, 1 Jul 2005 20:00:11 +0000
(20:00 +0000)
committer
gc
<gc>
Fri, 1 Jul 2005 20:00:11 +0000
(20:00 +0000)
lib/booh/booh-lib.rb
patch
|
blob
|
history
diff --git
a/lib/booh/booh-lib.rb
b/lib/booh/booh-lib.rb
index 4c55bfebb3129ce092a7a437636e94ffcff76438..c09703271bdc16d0c7dc5d5baca22c042c1855c3 100644
(file)
--- a/
lib/booh/booh-lib.rb
+++ b/
lib/booh/booh-lib.rb
@@
-117,7
+117,7
@@
module Booh
def entry2type(entry)
if entry =~ /\.(jpg|jpeg|jpe|gif|bmp|png)$/i && entry !~ /['"\[\]]/
return 'image'
- elsif entry =~ /\.(mov|avi|mpg|mpeg|mpe|wmv|asx)$/i && entry !~ /['"\[\]]/
+ elsif entry =~ /\.(mov|avi|mpg|mpeg|mpe|wmv|asx
|3gp|mp4
)$/i && entry !~ /['"\[\]]/
#- might consider using file magic later..
return 'video'
else