nication channel between it and
the F<mpv> process.
It then speaks the somewhat JSON-looking (but not really being JSON)
protocol that F<mpv> implements to both send it commands, decode and
handle re
D() { 2**52 }
our $JSON = eval { require JSON::XS; JSON::XS:: }
|| do { require JSON::PP; JSON::PP:: };
our $JSON_ENCODER = $JSON->new->utf8;
our $JSON_DECODER = $JSON->new->latin1;
our
;
if ("{" eq substr $1, 0, 1) {
eval {
my $reply = $JSON_DECODER->decode ($1);
if (defined (my $event = delete $reply->{event})) {