diff options
-rw-r--r-- | abs/core/mplayer-wrapper/PKGBUILD | 4 | ||||
-rw-r--r-- | abs/core/mplayer-wrapper/mplayer-wrapper.pl | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/abs/core/mplayer-wrapper/PKGBUILD b/abs/core/mplayer-wrapper/PKGBUILD index 5fa1f99..8c70913 100644 --- a/abs/core/mplayer-wrapper/PKGBUILD +++ b/abs/core/mplayer-wrapper/PKGBUILD @@ -1,6 +1,6 @@ pkgname=mplayer-wrapper pkgver=1 -pkgrel=11 +pkgrel=12 pkgdesc="wrapper for mplayer and mplayer derivatives" arch=('i686' 'x86_64') depends=('perl' 'vdpauinfo') @@ -14,4 +14,4 @@ package() { # executables install -m0755 -D $srcdir/*.pl $pkgdir/$LH_ROOT/bin/ } -md5sums=('da888009e5937e7e3046f5adcb2a604c') +md5sums=('af150ea192ce97a95ebf38b5dc15f233') diff --git a/abs/core/mplayer-wrapper/mplayer-wrapper.pl b/abs/core/mplayer-wrapper/mplayer-wrapper.pl index d938fbf..6b07892 100644 --- a/abs/core/mplayer-wrapper/mplayer-wrapper.pl +++ b/abs/core/mplayer-wrapper/mplayer-wrapper.pl @@ -238,7 +238,7 @@ sub dynamic_parameters () { # Finally, if no bookmarking players can be found, a barebones mplayer is used. sub pick_player () { #my @possible_players = ("smplayer", "mplayer-resumer.pl", "mplayer"); - my @possible_players = ("mplayer-resumer.pl", "mplayer"); + my @possible_players = ("mplayer"); my $command; my $candidate_player; foreach (@possible_players) { @@ -256,7 +256,8 @@ sub pick_player () { # Calls player sub player () { my($player,$parameters,$mediafile)=@_; - my $command = "$player $parameters \"$mediafile\" 2>&1 |"; + #my $command = "$player $parameters \"$mediafile\" 2>&1 |"; + my $command = "$player $parameters \"$mediafile\" > /tmp/.mplayer-status |"; print "DEBUG: $0's player command is: *** $command ***\n"; open(SHELL, $command); |