[mythtv-users] Important: Changes to Metadata lookup in March 2021

Jay Foster jayf0ster at roadrunner.com
Sat Feb 27 21:06:09 UTC 2021


On 2/26/21 10:57 AM, John Finlay via mythtv-users wrote:
> On 2/26/2021 9:44 AM, Roland Ernst wrote:
>>
>> On Thu, Feb 25, 2021 at 9:36 PM John Finlay via mythtv-users 
>> <mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>> wrote:
>>
>>
>>     On my system with python2.7 I had to hack the lookup.py file line
>>     300 from:
>>
>>         if query.isnumeric():
>>
>>     to:
>>
>>         if unicode(query).isnumeric():
>>
>>     because the string in query is not unicode.
>>
>>     John
>>
>>
>> John,
>> please try to change line 300 of lookup.py from
>>
>>      if query.isnumeric():
>>
>> to:
>>
>>     if query.isdigit():
>>
>> The /isdigit/() method returns True if all the characters are digits, 
>> otherwise False.
>> And works for unicode strings and ascii strings in python2.
>> This should be compatible to python3 and python2.
>>
>> Thanks,
>> Roland
>>
>>
>
> Thanks it works for me.
>
> John
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

I am running 0.28 and the tmdb3tv.py seems to work, but the tvmaze.py 
throws this error:

ERROR: <class 'requests.exceptions.SSLError'> : 
HTTPSConnectionPool(host='api.tvmaze.com', port=443): Max retries 
exceeded with url: /search/shows?q=Monk (Caused by 
SSLError(CertificateError("hostname 'api.tvmaze.com' doesn't match 
'tvlive.tvmaze.info'",),))

Any idea how to fix this?

Jay

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20210227/daba34e1/attachment.htm>


More information about the mythtv-users mailing list