From 41838ab68f07e01eef266c045b931d84f9ac5e14 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 16 Nov 2009 15:14:44 +0100 Subject: [PATCH] don't re-create slides from video all the time --- bin/mplayer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mplayer.pl b/bin/mplayer.pl index f996636..a21793c 100755 --- a/bin/mplayer.pl +++ b/bin/mplayer.pl @@ -194,7 +194,7 @@ sub html5tv { push @videos, [ @$s, $video ]; } } elsif ( $s->[2] =~ m{slide:(\d+)\s+shot:(\d+\.\d+)} ) { - push @frames, [ $2, $1 ]; + push @frames, [ $2, $1 ] unless -e "$media_dir/hires/f$1.jpg"; next; } -- 2.20.1