[mythtv-users] switching from imdb to tmdb woes

Bobby Schwartz rschwartz at lastar.com
Fri Jan 9 13:28:51 UTC 2009


> On Jan 8, 2009, at 1:59 PM, zablal baz wrote:
>
> > Hi All,
> >
> > My apologies if this is the wrong place to send this mail.  Last  
> > time I asked for help, I think there was a forum on gossamer that I

> > just posted to.  Apparently that now appears to be defunct.
> >
> > Anyway, I am trying to switch from the imdb.pl to the tmdb.pl script

> > for capturing movie data, and I get the following error when running

> > from the command line:
> >
> > $ ./tmdb.pl -M hellboy
> > Can't locate MythTV/MythVideoCommon.pm in @INC (@INC contains: . / 
> > usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/ 
> > site_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread- 
> > multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/site_perl/ 
> > 5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386- 
> > linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-

> > multi /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6
/ 
> > usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/ 
> > perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/ 
> > vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/ 
> > 5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7 /usr/

> > lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/ 
> > lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /

> > usr/lib/perl5/5.8.8) at ./tmdb.pl line 18.
> > BEGIN failed--compilation aborted at ./tmdb.pl line 18.
> >
> > I am running Fedora 8, and I do have the mythvideo package  
> > installed.  An rpm -V against the package tells me nothing is  
> > missing or altered.  Am I missing another package or is something  
> > else wrong here?
> >
> > Packages:
> > mythtv-0.21-198.fc8
> > mythvideo-0.21-198.fc8
>
>
> The new script that you got from the trunk repository is meant to be  
> used with the trunk bindings which are associated with the trunk  
> database, so I'm not sure what you're trying to do will even work.  
> Technically, the message you're getting says it's missing  
> MythVideoCommon in the bindings that are installed. If you mix and  
> match versions of things, it's likely to break.
>
> -Brad

Check to see if you have a MythTV folder inside the scripts folder.
Some of the functions have been moved to a common include file.  You
need to create the folder and export MythVideoCommon.pm into it.

Trac makes for a good visual of what the folder structure should look
like: 
http://svn.mythtv.org/trac/browser/trunk/mythplugins/mythvideo/mythvideo
/scripts

-Bobby


More information about the mythtv-users mailing list