[mythtv-users] tmdb issues today?

Frank Phillips frankalso at gmail.com
Thu Nov 19 22:54:08 UTC 2015


On Tue, Nov 17, 2015 at 9:54 AM, Michael <mythtv at blandford.net> wrote:

> On 11/09/2015 02:32 PM, Hika van den Hoven wrote:
>
>> Hoi Ian,
>>
>> Monday, November 9, 2015, 9:51:04 PM, you wrote:
>>
>> <snip>
>>
>> So here the proper fix" starting at line 66. Be careful to maintain
>> the indentations:
>>
>>      if opts.country:
>> -        try:
>> -            # resort releases with selected country at top to ensure it
>> -            # is selected by the metadata libraries
>> -            index = zip(*releases)[0].index(opts.country)
>> -            releases.insert(0, releases.pop(index))
>> -        except IndexError, ValueError:
>> -            pass
>> -        else:
>> +        # resort releases with selected country at top to ensure it
>> +        # is selected by the metadata libraries
>> +        r = zip(*releases)
>> +        if opts.country in r[0]:
>> +            index = r[0].index(opts.country)
>> +            releases.insert(0, releases.pop(index))
>>              m.releasedate = releases[0][1].releasedate
>>
>>
>>
>>
>
> Hello,
>
> I had been struggling to get updated meta data for many shows when I found
> this thread.  Making this change allowed me to find all the artwork that
> was missing for several new movies.  I am assuming this is or has been
> committed to the fixes tree for 0.27?
>
>
Yes, it has been fixed in both master and fixes/0.27.
https://code.mythtv.org/trac/ticket/12538
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20151119/afe51599/attachment-0001.html>


More information about the mythtv-users mailing list