]> iEval git - webservice-strike.git/commitdiff
Accept imdbid instead of imdb_id
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 23 May 2015 09:15:11 +0000 (12:15 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 23 May 2015 09:15:11 +0000 (12:15 +0300)
lib/WebService/Strike/Torrent.pm

index eae9a89c5e277438a1d16a8026d8f877afc9e19d..11113655cf0091dc6ba2a570d344a63d9fecf0ab 100644 (file)
@@ -35,6 +35,7 @@ sub new{
                $self->{file_names} = $self->file_info->{file_names};
                $self->{file_lengths} = $self->file_info->{file_lengths};
        }
+       $self->{imdb_id} = $self->{imdbid} if $self->{imdbid};
        $self
 }
 
This page took 0.027811 seconds and 4 git commands to generate.