[ATrpms-users] MythTV tmdb.py and ttvdb.py on Centos 5

Roald roalda at gmail.com
Thu Jul 8 20:30:53 CEST 2010


On Thu, Jul 8, 2010 at 5:12 PM, Axel Thimm <Axel.Thimm at atrpms.net> wrote:
> On Wed, Jul 07, 2010 at 03:11:24PM +0200, Roald wrote:
>> Do tmdb.py and ttvdb.py work at all on Centos 5?
>>     class moviedbQueries():
>> /usr/share/mythtv/mythvideo/scripts/Television/ttvdb.py -l en -M
>> "Sanctuary"
>>
>> The modules tvdb_api.py (v1.0.0 or greater), tvdb_ui.py,
>> tvdb_exceptions.py and cache.py.
>> They should have been installed along with the MythTV python bindings.
>> Error:(No module named etree.cElementTree)
>
> The latter is in python-elementtree, just yum it in.

Already had python-elementtree installed.

> I'm not sure what the empty parentheses for moviedbQueries
> mean. Perhaps they can just be removed.

I did get a little bit further, but I am not finished testing, so it may break.

I did install python-26, python26-tools from epel-testing, then I
changed all occurences of python2.4 in the scripts (8 files from
python-MythTV) to python2.6.

I did a ln -sf /usr/lib/python2.4/site-packages/MythTV
/usr/lib/python2.6/site-packages/MythTV

At that time it wanted python26-mysqldb that was not in epel-testing.
But I found it here:
https://bugzilla.redhat.com/show_bug.cgi?id=574545 and built it from
the package given there.

The example commands given in the scripts work now:

/usr/share/mythtv/mythvideo/scripts/Movie/tmdb.py -M "Avatar"
/usr/share/mythtv/mythvideo/scripts/Movie/tmdb.py -D 19995
/usr/share/mythtv/mythvideo/scripts/Television/ttvdb.py  -PFB "Sanctuary"
/usr/share/mythtv/mythvideo/scripts/Television/ttvdb.py  -B "SG-1" 1

jamu.py complains about a missing IMDbPY which seems to be here:
http://erlug.linux.it/~da/rpm/SRPM/IMDbPY-4.6-1.src.rpm
but I havent gotten it to build yet, so don't know if jamu will work.


-- 
Roald Martin Amundsen



More information about the atrpms-users mailing list