[mythtv-users] IMDB lookup fails in MythWeb 0.21

Michael Costa mcosta1973 at gmail.com
Tue Mar 18 22:43:56 UTC 2008


It didn't work for me either originally.
The problem was in the imdb.php file.  The $imdb and $imdbwebtype variables
were not being set for some reason.  The hostname was set correctly, but
    setting('web_video_imdb_path', hostname);
and
    setting('web_video_imdb_type', hostname);

both returned nothing.  I manually checked those settings in the db and on
video settings page and they are entered correctly.  Not sure why the script
can't read those variables, so I just hard-coded the values that should be
there and the script worked fine after that.

On Mon, Mar 17, 2008 at 11:57 PM, Johnny Russ <jruss at mit.edu> wrote:

> There are no error messages in my apache error.log file. Apache has rx
> permissions on the full path to imdb.pl.
>
> I copied the imdb.pl to my mythweb directory as you suggested, and then
> everything worked. Next I changed it back to the old path making sure
> that I had it typed correctly. Now it works fine with the original path.
> Maybe the default that was in before had some sort of typo. Or I read
> that someone else had a problem where mythweb located the path
> automatically and filled it in, but it isn't actually saved into the
> database. You have to click the save button at least once before all of
> the settings are written to the database. Maybe that was this issue
> here. Either way everything is working now. Thanks for the help.
>
> -Johnny
>
> Brad DerManouelian wrote:
> > On Mar 17, 2008, at 9:07 PM, Johnny Russ wrote:
> >
> >
> >> I saw other threads discussing that solution, but I didn't think that
> >> they applied to my situation. Those threads indicated that there was
> >> an
> >> error message when that path was incorrect. I only have one machine
> >> that
> >> functions as both my frontend and backend. The 'Path to imdb.pl on
> >> this
> >> webserver:' is set to '/usr/share/mythtv/mythvideo/scripts/imdb.pl'.
> >> This is a local address so I believe the webserver can access it. How
> >> can I check to make sure? Any other ideas about what could be going
> >> wrong?
> >>
> >
> > The apache user needs rx access to that file and I believe read access
> > to every directory leading to that file.
> > If you're not familiar with file permissionsm, you can read up on it
> > here: http://www.freeos.com/articles/3127/
> >
> > I ended up copying my imdb.pl script to the mythweb directory and
> > changing my settings to use that one.
> > If permissions is the problem, you should get an access denied error
> > in your error.log for apache.
> >
> > -Brad
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080318/af71bff2/attachment.htm 


More information about the mythtv-users mailing list