From 277dd2b9fdc04f3946b808bd9b97683775fc568a Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 12 Jan 2010 16:28:06 +0100 Subject: [PATCH] better default video-viewer and browser --- bin/booh | 4 ++-- bin/booh-classifier | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/booh b/bin/booh index f84be52..2e082da 100644 --- a/bin/booh +++ b/bin/booh @@ -123,9 +123,9 @@ def read_config } end end - $config['video-viewer'] ||= '/usr/bin/mplayer %f' + $config['video-viewer'] ||= '/usr/bin/mplayer %f || /usr/bin/vlc %f' $config['image-editor'] ||= '/usr/bin/gimp-remote %f || /usr/bin/gimp %f' - $config['browser'] ||= "/usr/bin/mozilla-firefox -remote 'openURL(%f,new-window)' || /usr/bin/mozilla-firefox %f || /usr/bin/firefox %f" + $config['browser'] ||= "/usr/bin/mozilla-firefox -remote 'openURL(%f,new-window)' || /usr/bin/mozilla-firefox %f || /usr/bin/firefox -remote 'openURL(%f,new-window)' || /usr/bin/firefox %f" $config['use-flv'] ||= "true" $config['flv-generator'] ||= "/usr/bin/ffmpeg -i %f -b 800k -ar 22050 -ab 32k %o" $config['comments-format'] ||= '%t' diff --git a/bin/booh-classifier b/bin/booh-classifier index 029671d..1397168 100644 --- a/bin/booh-classifier +++ b/bin/booh-classifier @@ -148,8 +148,8 @@ def read_config end } end - $config['video-viewer'] ||= '/usr/bin/mplayer %f' - $config['browser'] ||= "/usr/bin/mozilla-firefox -remote 'openURL(%f,new-window)' || /usr/bin/mozilla-firefox %f" + $config['video-viewer'] ||= '/usr/bin/mplayer %f || /usr/bin/vlc %f' + $config['browser'] ||= "/usr/bin/mozilla-firefox -remote 'openURL(%f,new-window)' || /usr/bin/mozilla-firefox %f || /usr/bin/firefox -remote 'openURL(%f,new-window)' || /usr/bin/firefox %f" $config['preload-distance'] ||= '5' $config['cache-memory-use'] ||= 'memfree_80%' $config['rotate-set-exif'] ||= 'true' -- 2.30.4