X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/6d38d53c6cacbb5dabe6dc663c500d8ef8bb62d0..3245065392594e36c11044f0a52afd1b652179cb:/mplayer.plp
diff --git a/mplayer.plp b/mplayer.plp
index 689ee84..013f7df 100644
--- a/mplayer.plp
+++ b/mplayer.plp
@@ -1,77 +1,3 @@
-<(common.inc.plp)><:
-
-Html({
- title => 'mplayer cheat sheet',
- version => 'v1.1',
- description => [
- "Keyboard cheat sheet for the MPlayer media player,",
- "overviewing the default controls."
- ],
- keywords => [qw'
- mplayer video media sheet cheat reference overview control shortkey keyboard
- '],
- charset => $sign{charset},
- stylesheet => [qw'light dark circus mono red terse'],
- keys => 1,
-});
-
-:>
-
MPlayer cheat sheet
-
-index (default)
-
-
-
<:
-use Shiar_Sheet::Keyboard 2;
-my $info = do 'mplayer.eng.inc.pl' or die $@;
-$info->{def} = do 'mplayer.inc.pl';
-my $keys = Shiar_Sheet::Keyboard->new($info);
-$keys->map($get{map}) or undef $get{map};
-$keys->print_rows($get{rows}, [1,0]);
-:>
-
-
-
-
-
-
-
- - osd
-
- Print information or change display.
-
- subtitles
-
- Alter subtitle selection and settings.
-
- video
-
- Video output adjustment.
-
- audio
-
- Sound (track) configuration.
-
- playback
-
- Playback control.
-
- general
-
- Other MPlayer features.
-
-
-
-
-
- - key<:= $sign{arg} :>
-
- Commands with a dot need an argument afterwards.
-
- optional
-
- Some features depend on setup and/or parameters.
-
-
-
- - keyboard map is
- <:= $get{map} ? 'set to ' : '' :><:= $keys->{map} :>
-
- ascii mode is
- <:= defined $sign{-ascii} && 'forced ' :><:=
- $sign{-ascii} ? 'on' : 'off' :>
-
- keys are
- <:= $showkeys ? 'always shown' : 'hidden if unassigned' :><:=
- !exists $get{keys} && ' by default' :>
-
- default style is
- <:= defined $get{style} && 'set to ' :><:= $style :>
-
-
-
-
+$Request = $ENV{PATH_INFO} eq '/mpv' ? 'mpv' : 'mplayer';
+Include 'keyboard.plp';