[mythtv-users] tmdb3 wonkiness

Phil Bridges gravityhammer at gmail.com
Wed Sep 16 18:28:53 UTC 2015


On Wed, Sep 16, 2015 at 2:04 PM, Bill Meek <keemllib at gmail.com> wrote:

> On 09/16/2015 12:44 PM, Phil Bridges wrote:
>
>> <         confpath = os.path.join(confdir, 'pytmdb3.cache')
>> ---
>>
>>> >         confpath = os.path.join(confdir, 'cache', 'pytmdb3.cache')
>>>
>>
> Forgot that there's now a cache directory in 0.28-pre, so the
> version I'm using may not work for you.
>
> It might be worthwhile to remove your tmdb3.cache. I tried it and it failed
> like yours:
>
>     /usr/local/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -D 116149
> ...
>     status = status_handlers[data.get('status_code', 1)]
> KeyError: 25
>
> Then I ran /usr/local/share/mythtv/metadata/Movie/tmdb3.py -l en -a US -D
> 11614
> (note the missing last digit):
>
> and it worked, as did the original (-D 116149.) And I repeated it
> eight times. All returned the same non-errored result.
>
>
Thanks again.  I have two instances of pytmdb3.cache:

 ~ # locate pytmdb3.cache
/home/mythtv/.mythtv/pytmdb3.cache
/root/.mythtv/pytmdb3.cache

It appears that 1 is run by the system and is from me running as root:

~ # ls -al /home/mythtv/.mythtv/pytmdb3.cache
-rw-r--r-- 1 mythtv video 274447 Sep 16 07:00
/home/mythtv/.mythtv/pytmdb3.cache
~ # ls -al /root/.mythtv/pytmdb3.cache
-rw-r--r-- 1 root root 242075 Sep 16 13:41 /root/.mythtv/pytmdb3.cache

Is there a "proper" way to clear the cache?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150916/27382d7c/attachment.html>


More information about the mythtv-users mailing list