[mythtv-users] Frequent failures in attempting to download art from thetvdb
Paul Gardiner
lists at glidos.net
Sat Apr 28 10:47:17 UTC 2018
On 27/04/2018 22:30, Hika van den Hoven wrote:
> Hoi Paul,
>
> Friday, April 27, 2018, 3:33:12 PM, you wrote:
>
>> On 25/04/2018 17:59, Greg Oliver wrote:
>>> On Wed, Apr 25, 2018 at 8:30 AM, Paul Gardiner <lists at glidos.net
>>> On 25/04/2018 09:22, Greg Oliver wrote:
>>> On Wed, Apr 25, 2018 at 3:07 AM, Paul Gardiner <lists at glidos.net
>>> On 23/04/2018 19:00, Paul Gardiner wrote:
>>>
>>> Hi,
>>> I'm noticing more and more often now I cannot download coverart,
>>> banners etc from thetvdb. If I try to manually, a list of
>>> possible banners is displayed with urls, but blank space where
>>> the image should be. In the logs I see "Tried to write <url>,
>>> but it appears to be an HTML redirect or corrupt file (filesize
>>> 0). The urls work in a browser. There seems to be a long-ago
>>> fixed bug related to this with themoviedb.
>>>
>>> I'm using v0.28.2
>>>
>>> Is anyone else seeing this problem?
>>>
>>> Can anyone using 0.28.2 report ttvdb artwork download working for
>>> them? At least then I know to look somewhere outside mythtv.
>>>
>>> Yeah, I know of that discussion: I was part of it. Back a few weeks,
>>> a few of us didn't have ttvdb.py working at all. Now it is mostly
>>> working. It's just the downloading of artwork that fails. The
>>> download failure was happening a lot before I upgraded to 0.28.2, in
>>> any case.
>>>
>>> Ahhh, sorry - I should have looked closer to the recipients of that
>>> thread! When you run the commands from the command line as in the other
>>> thread, what does it say?
>
>> Actually, there is a warning when I run ttvdb.py: I see
>
>> "InsecureRequestWarning: Unverified HTTPS request is being made.
>> Adding certificate verification is strongly advised. See:
>> https://urllib3.readthedocs.io/en/latest/security.html"
>
>> I still get what looks like correct metadata. I also notice that the
>> banner urls returned within the xml, although http, redirect to https.
>> I'm not sure how that would lead to Mythfrontend failing to download
>> them, but I guess it could be connected.
>
> Maybe you should look at updating your systems list of https
> authorities. Some browsers have their own, but python uses the ones
> supplied by your system.
I installed python-certifi and that got rid of the warning from ttvdb.py
that I mentioned above, but still the downloading from the artwork urls
fails. I think it may be mythfrontend that is responsible for
downloading the artwork. I think it does that directly, rather than via
ttvdb.
Cheers,
Paul.
More information about the mythtv-users
mailing list