[mythtv-users] mythvideo, imdb and ignored words
come se fosse antani
antani at gmail.com
Sun Jun 25 12:04:28 UTC 2006
On 6/25/06, George Nassas <gnassas at mac.com> wrote:
> On 25-Jun-06, at 6:39 AM, come se fosse antani wrote:
> > Hola.
> > I've some issues with the imdb.pl grabber for mythtv.
> > I would to know if it's possibile to exclude some words/chars of the
> > video filename from the search query of imdb.pl.
> > For me is very useful in order to avoid searching for:
> > - 'dvdrip' or 'cdN'
> > - italian translation of the movie's title
> > Normally I rename my movie files in such way:
> > The_Untouchables.Gli_Intoccabili.avi
> > I would like to tell imdb.pl to ignore anything after a dot (.).
> > any suggestion?
> Look in the script for "sub getMovieList" and add some code after the
> "query =" assignment. Duplicating the first "if rindex" block will
> remove the Italian translation if it's present. To get rid of
> embedded text like dvdrip or cdNN you could add lines like:
> $query =~ s/dvdrip//;
> $query =~ s/cd[[:digit:]]+//;
> - George
thanks for the answer.
AFAIUnderstand, I can follow your first suggestion (duplicating the
1st "if rindex") in order to avoid that imdb.pl search imdb for
anything that appears in the filename after a dot. right?
this "anything" can be even the italian translation or the dvdrip cdNN
More information about the mythtv-users