[mythtv-users] tmdb3 wonkiness

Phil Bridges gravityhammer at gmail.com
Wed Sep 16 17:44:08 UTC 2015


On Wed, Sep 16, 2015 at 1:40 PM, Phil Bridges <gravityhammer at gmail.com>
wrote:

>
>
> On Wed, Sep 16, 2015 at 1:29 PM, Bill Meek <keemllib at gmail.com> wrote:
>
>> On 09/16/2015 10:16 AM, Phil Bridges wrote:
>>
>>> What's up with this?
>>>
>>
>> I'm at a loss. But I do know that there's the 'stock' version
>> from Mythbuntu on my machine and the version that's in the source
>> dir for  0.28-pre.
>>
>> When running either with the --version switch, they both report
>> version 0.3.7. So, here's a copy of my latest:
>>
>>     http://paste.ubuntu.com/12428186/
>>
>> You can diff it with yours and/or see if running it helps.
>>
>>
>>
> Thanks, Bill.  I'll look at it as soon as I get a chance.
>
> I find it odd that it would not work and then seconds later would return a
> valid response.
>


I had a second, so I SSHd in to check.  Here's my diff (where testpy is
yours):

diff /usr/share/mythtv/metadata/Movie/tmdb3.py testpy
1c1
< #!/usr/bin/env python2
---
> #!/usr/bin/env python
97c97,99
<                         'thumb':backdrop.geturl(backdrop.sizes()[0])})
---
>                         'thumb':backdrop.geturl(backdrop.sizes()[0]),
>                         'height':str(backdrop.height),
>                         'width':str(backdrop.width)})
100c102,104
<                         'thumb':poster.geturl(poster.sizes()[0])})
---
>                         'thumb':poster.geturl(poster.sizes()[0]),
>                         'height':str(poster.height),
>                         'width':str(poster.width)})
203a208,209
>     etree.SubElement(version, "accepts").text = 'tmdb.py'
>     etree.SubElement(version, "accepts").text = 'tmdb.pl'
278c284
<         confpath = os.path.join(confdir, 'pytmdb3.cache')
---
>         confpath = os.path.join(confdir, 'cache', 'pytmdb3.cache')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150916/680517f1/attachment-0001.html>


More information about the mythtv-users mailing list