39 lines
1.5 KiB
Plaintext
39 lines
1.5 KiB
Plaintext
$OpenBSD: patch-get_iplayer,v 1.14 2009/08/23 19:16:17 sthen Exp $
|
|
--- get_iplayer.orig Sat Aug 22 19:14:38 2009
|
|
+++ get_iplayer Sun Aug 23 20:10:35 2009
|
|
@@ -290,7 +290,7 @@ mkpath $profile_dir if ! -d $profile_dir;
|
|
|
|
|
|
# get list of additional user plugins and load plugin
|
|
-my $plugin_dir_system = '/usr/share/get_iplayer/plugins';
|
|
+my $plugin_dir_system = '${TRUEPREFIX}/share/get_iplayer/plugins';
|
|
my $plugin_dir_user = "$profile_dir/plugins";
|
|
for my $plugin_dir ( ( $plugin_dir_user, $plugin_dir_system ) ) {
|
|
if ( opendir( DIR, $plugin_dir ) ) {
|
|
@@ -407,6 +407,7 @@ if ( ! keys %plugin_files ) {
|
|
$opt->{pluginsupdate} = 1;
|
|
}
|
|
# Update this script if required
|
|
+$opt->{packagemanager}='pkg_add';
|
|
update_script() if $opt->{update} || $opt->{pluginsupdate};
|
|
|
|
|
|
@@ -590,7 +591,7 @@ sub find_matches {
|
|
$binopts->{lame} .= ' --quiet ' if $opt->{quiet};
|
|
$bin->{vlc} = $opt->{vlc} || 'cvlc';
|
|
$binopts->{vlc} = '-vv' if $opt->{verbose} || $opt->{debug};
|
|
- $bin->{id3v2} = $opt->{id3v2} || 'id3v2';
|
|
+ $bin->{id3v2} = $opt->{id3v2} || 'id3tag';
|
|
$bin->{tee} = 'tee';
|
|
$bin->{flvstreamer} = $opt->{flvstreamer} || $opt->{rtmpdump} || 'flvstreamer';
|
|
# quote binaries which allows for spaces in the path
|
|
@@ -4521,7 +4522,7 @@ sub optional_list_entry_format {
|
|
# Returns the modes to try for this prog type
|
|
sub modelist {
|
|
my $prog = shift;
|
|
- my $mlist = $opt->{tvmode} || $opt->{modes};
|
|
+ my $mlist = $opt->{tvmode} || $opt->{vmode} || $opt->{modes};
|
|
|
|
# Defaults
|
|
if ( ! $mlist ) {
|