[mythtv-users] movie grabber

Roland Ernst rcrernst at gmail.com
Wed May 20 16:44:37 UTC 2020


On Wed, May 20, 2020 at 7:00 AM Blue <jam at tigger.ws> wrote:

> Hi
> this is a non trivia; question around the guts of metagraber on 31.
>
> I have been playing lots to get an osx frontend working, I’ve built an
> ubuntu backend machine, built from source and downloaded the mythtv
> packages.
> I’ve also built for opensuse-Tumbleweed and downloaded packman builds.
>
> During this, because some metadata is populated, download DID work but my
> current testing, even when I delete metadata and i->change video
> detail->retrieve deta, failes with a failed message immediatly.
>
> Running the grabber from CL gives a nice xml dump that looks correct
> including art url that works.
> I’ve looked at the code, but it is too hard for me to follow.
>
> How can I trouble shoot? In particalar some thing is causing ‘return with
> ok=false’ immediatly.
> Thanks
> James
>
> PS
> i->change video detail->retrieve deta does not log any activity
> but scan does a mythmetadata grab and I see bla bla movie DATE
>
> When I run that grab from CL it fails, without DATE it succeeds
>
>
A few questions:
Do you use the frontend running osx or opensuse to grab metadata?

Did you configure the frontend build for python2 or python3?

What does the following command return on the frontend:
{{{
head -n1 /usr/share/mythtv/metadata/Television/ttvdb.py
}}}
Substitute the path to your needs.

Is the following code snippet taken from
"mythtv/programs/mythmetadatalookup/main.cpp:71"
compiled in?
{{{
#ifdef Q_OS_MAC
    QString path = QCoreApplication::applicationDirPath();
    setenv("PYTHONPATH",
           QString("%1/../Resources/lib/python2.6/site-packages:%2")
           .arg(path)

 .arg(QProcessEnvironment::systemEnvironment().value("PYTHONPATH"))
           .toUtf8().constData(), 1);
#endif
}}}

You may find similar occurrences in
"mythtv/programs/mythfrontend/main.cpp:1872"
and
"mythtv/programs/mythbackend/main.cpp:99"






          QString("%1/../Resources/lib/python2.6/site-packages:%2")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200520/e832416c/attachment.htm>


More information about the mythtv-users mailing list