diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-09-04 22:25:50 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-09-04 22:25:50 (GMT) |
commit | 7983ca5c37091f4d0ff33584fe9e2f4487400caa (patch) | |
tree | 20655ccaf710086cfdc476c7fdc17d9fa3611408 /abs/core/mplayer-wrapper | |
parent | 9936b34b3782b3e163ae6f492523b722d180db90 (diff) | |
download | linhes_pkgbuild-7983ca5c37091f4d0ff33584fe9e2f4487400caa.zip linhes_pkgbuild-7983ca5c37091f4d0ff33584fe9e2f4487400caa.tar.gz linhes_pkgbuild-7983ca5c37091f4d0ff33584fe9e2f4487400caa.tar.bz2 |
mplayer-wrapper: output status to a tmp file
Diffstat (limited to 'abs/core/mplayer-wrapper')
-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); |