diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/types.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/data/types.rb b/data/types.rb index 02c9cc1e..8719f07c 100644 --- a/data/types.rb +++ b/data/types.rb @@ -14,9 +14,11 @@ class Directory::Entry use.rake end - ## at first, look at the mime type case @mimetype - when /^video|audio/ + when /^video/ + use.mplayer_detached + + when /^audio/ use.mplayer when "application/pdf" |