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

Jay Foster jayf0ster at roadrunner.com
Sun Feb 28 02:26:53 UTC 2021


On 2/27/21 4:43 PM, Hika van den Hoven wrote:
> Hoi Jay,
> 
> Sunday, February 28, 2021, 1:11:58 AM, you wrote:
> 
>> On 2/27/21 1:30 PM, Hika van den Hoven wrote:
>>> Hoi Jay,
>>>
>>> Saturday, February 27, 2021, 10:06:09 PM, you wrote:
>>>
>>>> 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>               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.orghttp://lists.mythtv.org/mailman/listinfo/mythtv-usershttp://wiki.mythtv.org/Mailing_List_etiquetteMythTV 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
>>>
>>>
>>> My guess would be that you need to update your CA-certificates.
>>>
>>> Tot mails,
>>>     Hika                            mailto:hikavdh at gmail.com
>>>
>>>
>> Any ideas on how I can fix that?
>> Jay
> 
> 
> Look for the right package for your distribution.
> 
> Tot mails,
>    Hika                            mailto:hikavdh at gmail.com
> 
> "Zonder hoop kun je niet leven
> Zonder leven is er geen hoop
> Het eeuwige dilemma
> Zeker als je hoop moet vernietigen om te kunnen overleven!"
> 
> De lerende Mens
> 
> _______________________________________________
> 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
> 
No joy here.  I updated to a recent ca-certificates package, but the 
issue persists.  I can access the https://tvmaze.com website using 
firefox with no problem and view the site certificate which has a common 
name of tvmaze.com.  However, for some reason, the tvmaze.py script is 
trying to use tvlive.tvmaze.info instead, which does not match.
Jay


More information about the mythtv-users mailing list