use utf8;

my $legacy = do 'mplayer.eng.inc.pl' or die $@;

{
title => 'mpv',
intro => join("\n",
	'Default interface controls for version 0.35 of the mpv media player.',
	'Differences from the original <a href="/mplayer">MPlayer</a> are indicated.',
),
keywords => $legacy->{keywords},

key => { %{ $legacy->{key} },
	',' => "step backward<>s",
	'Q' => "save and quit",
	'_' => "cycle video tr<>ack<>s",
	'+' => "audio delay +<>.1s", # +ctrl in mpv
	'-' => "audio delay -<>.1s", # +ctrl in mpv
	'o' => "osd state switch",
	'O' => "osd mode toggle",
	'd' => "deint<>erlace",
	'E' => "edition cycle",
	'i' => "stats info",
	'I' => "toggle stats info",
	'j' => "next sub<>title",
	'J' => "prev<>ious sub<>title",
	'A' => "aspect override",
	'u' => "subtitle style",
	'V' => "subtitle aspect",
	'l' => "A-B loop",
	'L' => "infinite looping",
	'S' => "record screen<>shot<>s\n-vf screenshot", # mpv?
	'^s'=> "actual screen<>shot",
	'5' => "gamma decrease",
	'6' => "gamma increase",
	'F' => 'enlarge sub font',
	'G' => 'smaller sub font',
	'`' => 'console',
},

mode => $legacy->{mode},

flag => { %{ $legacy->{flag} },
	new => ["mpv"      => "Introduced in <em>mpv</em>, not supported in original MPlayer"],
},

def => {
	'' => { %{ $legacy->{def}->{''} },
		'`' => 'g9 arg new',
		'b' => undef,
		'g' => undef,
		'y' => undef,
		'F' => 'g2 new',
		'G' => 'g2 new',
		'a' => undef,
		'c' => undef,
		'n' => undef,
		'i' => 'g1 new',
		'I' => 'g1 new',
		',' => 'g7 new',
		'_' => 'g4 new',
		'Q' => 'g9 new',
		'O' => 'g1 new',
		'P' => '=o new',
		'J' => 'g2 new',
		'A' => 'g4 new',
		'u' => 'g2 new',
		'V' => 'g2 new',
		'l' => 'g7 new',
		'L' => 'g7 new',
		'E' => 'g4 new',
		'^s'=> 'g9 ext new',
		'R' => '=t new',
		'Z' => '=x new',
		'W' => '=e new',
	},
},
}
