diff options
author | hut <hut@lavabit.com> | 2009-06-15 20:03:15 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-06-15 20:03:15 +0200 |
commit | 131b33bfd71b4f3cc6c73b56ec8e536da472eb0a (patch) | |
tree | 7c38b4c0765697105d1db98c81f976a7e669cefc | |
parent | 136e534c0a4142546ae5c34efadd9dccdada9a82 (diff) | |
download | ranger-131b33bfd71b4f3cc6c73b56ec8e536da472eb0a.tar.gz |
handle video and audio differently in data/types
-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" |