Index: mythvideo/mythvideo/scripts/tmdb.pl
===================================================================
--- mythvideo/mythvideo/scripts/tmdb.pl (revision 20301)
+++ mythvideo/mythvideo/scripts/tmdb.pl (working copy)
@@ -265,7 +265,9 @@
     if ($xml->{"opensearch:totalResults"} > 0) {
         # now get the movie data via Movie.getInfo, Movie.imdbLookup does not
         # provide us all the data
-        my $tmdbid = $xml->{moviematches}->{movie}->{id};
+        my $tmdbid = ref $xml->{moviematches}->{movie} eq 'ARRAY'
+          ? $xml->{moviematches}{movie}[0]{id}
+          : $xml->{moviematches}{movie}{id};
 
         my ($rc, $response) =
             TMDBAPIRequest('Movie.getInfo', {'id' => $tmdbid});
