From: Marius Gavrilescu Date: Sat, 23 May 2015 09:15:11 +0000 (+0300) Subject: Accept imdbid instead of imdb_id X-Git-Tag: 0.004002~1 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=c3c68df951fb0d9bd7aab9d1da837bc8dbb5953e;p=webservice-strike.git Accept imdbid instead of imdb_id --- diff --git a/lib/WebService/Strike/Torrent.pm b/lib/WebService/Strike/Torrent.pm index eae9a89..1111365 100644 --- a/lib/WebService/Strike/Torrent.pm +++ b/lib/WebService/Strike/Torrent.pm @@ -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 }