[mythtv-users] tmdb issues today?

Michael mythtv at blandford.net
Tue Nov 17 15:54:03 UTC 2015


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?

Michael



More information about the mythtv-users mailing list