[mythtv-users] cannot grab television metadata

Doug Vaughan r.d.vaughan at rogers.com
Sat Apr 3 14:52:51 UTC 2010


Yianni,
    Even though you cleaned up old MythTV installation components you 
still have old python bindings. Those old bindings are preventing 
tvdb.py and tmdb.py from finding their required python libraries. Take 
heart as you are likely close to resolving this issue. Use a file search 
like "locate MythDB.py" to find where all the old MythTV python bindings 
are installed.

Here are examples of what the old bindings directory looks like and what 
the new bindings directory should look like.

# Old python bindings example. You want any of these removed you may 
have more than one for different versions of python (2.4, 2.5 ...).
 > ls -ls /usr/lib/python2.5/site-packages/MythTV
total 96
 4 -rw-r--r-- 1 root root   144 2009-04-17 11:32 __init__.py
 4 -rw-r--r-- 1 root root   299 2009-04-17 11:44 __init__.pyc
 8 -rw-r--r-- 1 root root  4790 2009-04-17 11:37 MythDB.py
 8 -rw-r--r-- 1 root root  5377 2009-04-17 11:44 MythDB.pyc
 4 -rw-r--r-- 1 root root   792 2009-04-17 11:32 MythLog.py
 4 -rw-r--r-- 1 root root  1784 2009-04-17 11:44 MythLog.pyc
12 -rw-r--r-- 1 root root  8751 2009-04-17 11:32 MythTV.py
12 -rw-r--r-- 1 root root 12258 2009-04-17 11:44 MythTV.pyc
 8 -rw-r--r-- 1 root root  6309 2009-04-17 11:37 MythVideo.py
 8 -rw-r--r-- 1 root root  7711 2009-04-17 11:44 MythVideo.pyc
 
# New python bindings example. This is the only bindings you want 
installed. Notice the tmdb and tvdb subdirectories which are the ones 
needed by ttvdb.py and tmdb.py
 > ls -ls /usr/local/lib/python2.6/dist-packages/MythTV
total 400
 4 -rw-r--r-- 1 root staff  1467 2010-02-09 10:20 __init__.py
 4 -rw-r--r-- 1 root staff  1677 2010-02-10 19:53 __init__.pyc
76 -rw-r--r-- 1 root staff 69876 2010-03-15 17:17 MythBase.py
80 -rw-r--r-- 1 root staff 76726 2010-03-15 17:28 MythBase.pyc
60 -rw-r--r-- 1 root staff 57309 2010-03-15 17:17 MythData.py
68 -rw-r--r-- 1 root staff 64560 2010-03-15 17:28 MythData.pyc
44 -rw-r--r-- 1 root staff 41478 2010-03-15 17:17 MythFunc.py
48 -rw-r--r-- 1 root staff 46555 2010-03-15 17:28 MythFunc.pyc
 4 -rw-r--r-- 1 root staff   233 2010-02-02 07:55 MythStatic.py
 4 -rw-r--r-- 1 root staff   434 2010-02-02 08:17 MythStatic.pyc
 4 drwxr-sr-x 2 root staff  4096 2010-02-02 08:17 tmdb
 4 drwxr-sr-x 2 root staff  4096 2010-02-02 08:17 ttvdb

Good Luck

Doug




More information about the mythtv-users mailing list