[mythtv-users] ttvdb.py question

Raymond Wagner raymond at wagnerrp.com
Fri Jul 27 21:48:11 UTC 2012


On 7/27/2012 17:29, Chris Gentle wrote:
> The ttvdb.py grabber seems to be working fairly well on my MythVideo
> files but it fails if a series name is ambiguous.  I can't seem to
> figure out how to associate a particular series id from thetvdb.com
> <http://thetvdb.com> with a series.  I know that ttvdb.py has a
> configuration file option -c and according to the wiki you can place a
> series override in there.  However, since ttvdb.py runs in the
> background, how do you tell it where the configuration file is?  Is this
> even the correct way to do this?

The simple solution is to just make the series name not ambiguous. 
Instead of using "Castle" or "Office", use "Castle (2009)" or "The 
Office (US)".  If you don't like that option, the script will read 
overrides from ~/.mythtv/ttvdb.conf by default, if such a file exists. 
Add lines to it such as...


[series_name_override]
Castle:83462
Office:73244


Note that this file must exist in the home directories of all users on 
all hosts that may attempt to pull metadata for your video library.  The 
third option, ttvdb.py is run through the terminal, but it is not run in 
the background.  When you manually grab data for a show, and the show is 
ambiguous, MythTV will pop up a window and ask you which series the show 
belongs to.


More information about the mythtv-users mailing list