about summary refs log tree commit diff stats
path: root/data
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-06-15 20:03:15 +0200
committerhut <hut@lavabit.com>2009-06-15 20:03:15 +0200
commit131b33bfd71b4f3cc6c73b56ec8e536da472eb0a (patch)
tree7c38b4c0765697105d1db98c81f976a7e669cefc /data
parent136e534c0a4142546ae5c34efadd9dccdada9a82 (diff)
downloadranger-131b33bfd71b4f3cc6c73b56ec8e536da472eb0a.tar.gz
handle video and audio differently in data/types
Diffstat (limited to 'data')
-rw-r--r--data/types.rb6
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"
>
7582555b ^


b06433bc ^

582f3519 ^
b06433bc ^
3edc9f86 ^
b06433bc ^
7582555b ^
84c49ab7 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23