[mythtv-users] How to use tmdb.pl with MythVideo/MythWeb
Andrew Burgess
aab at cichlid.com
Tue Apr 14 17:39:50 UTC 2009
On Tue, 2009-04-14 at 12:40 -0400, Michael T. Dean wrote:
> > Which dependencies are missing? I wonder why the autodetection
> > mechanism of the rpmbuild setup didn't catch them. Anything that is
> > "use"d is being listed as a dependency.
> >
>
> The only info we got here on the list is:
> http://www.gossamer-threads.com/lists/mythtv/users/378494#378494 .
> Though it's not your job, Axel, you might be able to get some more info
> if you contact Andrew directly (assuming he hasn't already posted the
> info to the AT/Fusion RPM's bug tracker), but it sounds like he used the
> shotgun approach, so he probably doesn't know specifics:
One problem with my data is that there is a bug in my version (20282)
that causes the metadata download to fail sometimes and I didn't know
about it so I came to some questionable conclusions when things appeared
to start working.
So forget what I said about any causes.
The bug seems to be (according to the logs) that the movie id isn't sent
to the tmdb.pl script sometimes.
Here's a log exerpt where the query is missing an arg and then where it
works and then fails again. Note it claims to have received "1 possible
match" without having sent a -M query (perhaps the id is cached?) but
then the movie id isn't sent in the following -D query.
<other startup messages>...
2009-04-13 16:43:46.279 New DB connection, total: 2
2009-04-13 16:43:46.279 Connected to database 'mythconverg' at host:
localhost
2009-04-13 16:43:59.163 GetVideoList returned 1 possible matches
2009-04-13 16:43:59.163 Video Data Query: Executing
"'/usr/share/mythtv/mythvideo/scripts/tmdb.pl' -D "
2009-04-13 16:43:59.261
Usage : /usr/share/mythtv/mythvideo/scripts/tmdb.pl -D <movieid>
2009-04-13 16:44:02.536 Video Search: Executing
"'/usr/share/mythtv/mythvideo/scripts/tmdb.pl' -M Battlestar Galactica"
2009-04-13 16:44:06.021 GetVideoList returned 2 possible matches
2009-04-13 16:44:06.079 Loading window theme
from /usr/share/mythtv/themes/default/video-ui.xml
2009-04-13 16:44:10.044 Video Data Query: Executing
"'/usr/share/mythtv/mythvideo/scripts/tmdb.pl' -D 0314979"
2009-04-13 16:44:15.988 Poster Query: Executing
"'/usr/share/mythtv/mythvideo/scripts/tmdb.pl' -P 0314979"
2009-04-13 16:44:16.016 Fanart Query: Executing
"'/usr/share/mythtv/mythvideo/scripts/tmdb.pl' -B 0314979"
2009-04-13 16:44:18.727 Copying
'http://www.themoviedb.org/image/posters/16226/Battlestar_Galactica_-_Poster_5__2003__mid.jpg' -> '/home/aab/.mythtv/MythVideo/0314979.jpg'...
2009-04-13 16:44:18.877 Unable to find image
file: /home/aab/.mythtv/MythVideo/0314979.jpg
2009-04-13 16:44:24.492 Copying
'http://www.themoviedb.org/image/backdrops/24014/Battlestar_Galactica_-_The_Miniseries__XVID___2003_-fanart.jpg' -> '/home/aab/.mythtv/MythVideo/Fanart/0314979.jpg'...
2009-04-13 16:44:27.844 Poster download finished: 0
2009-04-13 16:44:33.384 Fanart download finished: 0
2009-04-13 16:44:40.080 GetVideoList returned 1 possible matches
2009-04-13 16:44:40.080 Video Data Query: Executing
"'/usr/share/mythtv/mythvideo/scripts/tmdb.pl' -D "
2009-04-13 16:44:40.191
Usage : /usr/share/mythtv/mythvideo/scripts/tmdb.pl -D <movieid>
One thing I do here is I automatically start a database backup in the
background after starting the FE. Perhaps the db is locked briefly and
somewhere a return code isn't being checked? That might account for my
thinking it always happened the first time after startup...
More information about the mythtv-users
mailing list