From 89dd3a69d356966e99f73edace9e0408463055d0 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 1 Mar 2012 23:39:19 +0100 Subject: fix --- videoadd.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/videoadd.pl b/videoadd.pl index 03c39eb..22d5c85 100755 --- a/videoadd.pl +++ b/videoadd.pl @@ -692,7 +692,7 @@ sub getfile { unless (defined $imdb{crit}) { warn "Warning: No imdbID found for ID $id. Try `--imdb'.\n" unless defined $imdbid; - $imdbid =~ s/^imdbid:// if defined $imdbid; + $imdbid =~ s/^imdb:// if defined $imdbid; $imdb{crit} = $imdbid; } undef $move_flag; -- cgit v1.2.3