X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/d44cc0e55381787f31b58523019ebf7d54fc6fd1..HEAD:/mplayer.plp diff --git a/mplayer.plp b/mplayer.plp index 8397498..013f7df 100644 --- a/mplayer.plp +++ b/mplayer.plp @@ -1,31 +1,3 @@ -<(common.inc.plp)><: - -my $include = $Request eq 'mpv' ? $Request : 'mplayer'; - -Html({ - title => 'mplayer cheat sheet', - version => '1.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 - '], - stylesheet => [qw( light dark circus mono red )], - keys => 1, -}); - -:> -

MPlayer cheat sheet

- -

index (default)

- <: -use Shiar_Sheet::Keyboard 2; -my $info = do $include or die $@; -my $keys = Shiar_Sheet::Keyboard->new($info); -$keys->map($get{map}) or undef $get{map}; -$keys->print_rows($get{rows}, [1,0]); -$keys->print_legends(\%get); - +$Request = $ENV{PATH_INFO} eq '/mpv' ? 'mpv' : 'mplayer'; +Include 'keyboard.plp';