The Movie Database Support

Hey everyone,

I don't think we're filtering images properly with ?include_image_language=null at the moment. Looks like a bug slipped in. Given today is a holiday in Canada, and I'm busy for a bit, I won't be able to look at this until later tonight. I will update this post once I have deployed the fix.

Cheers.

10 replies (on page 1 of 1)

Jump to last post

Fix going out now for this, it will take another ~8 hours before all the cached items are expired and refreshed from cache.

Sorry for letting this bug slip in.

Thanks for the fix @travisbell

We were starting to see the complaints roll in at Kodi :)

Thank you @travisbell, much appreciated! Unfortunately it looks like the problem persists, and the Kodi forums seem to confirm it :-/

Hi @p1xel,

I'm not seeing any issues:

Request

 curl -v "https://api.themoviedb.org/3/tv/82856/images?api_key=###&include_image_language=null,en"

*   Trying 2600:9000:20be:f800:c:174a:c400:93a1:443...
* Connected to api.themoviedb.org (2600:9000:20be:f800:c:174a:c400:93a1) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=*.themoviedb.org
*  start date: Nov 20 00:00:00 2020 GMT
*  expire date: Dec 19 23:59:59 2021 GMT
*  subjectAltName: host "api.themoviedb.org" matched cert's "*.themoviedb.org"
*  issuer: C=US; O=Amazon; OU=Server CA 1B; CN=Amazon
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7fec4180d000)
> GET /3/tv/82856/images?api_key=###&include_image_language=null,en HTTP/2
> Host: api.themoviedb.org
> user-agent: curl/7.76.1
> accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 200
< content-type: application/json;charset=utf-8
< content-length: 16152
< date: Fri, 02 Jul 2021 15:13:36 GMT
< server: openresty
< access-control-allow-origin: *
< access-control-allow-methods: GET, HEAD, POST, PUT, DELETE, OPTIONS
< access-control-expose-headers: ETag, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After, Content-Length, Content-Range
< cache-control: public, max-age=28800
< x-memc: HIT
< x-memc-key: c03ad67ee602db2d4fadb4d6475175ae0ababf7d
< x-memc-age: 315
< x-memc-expires: 15053
< etag: W/"ca86fe0f3abcc97c8d200222b6eb59e3"
< vary: Accept-Encoding,Accept-Encoding,Accept-Encoding
< x-cache: Miss from cloudfront
< via: 1.1 446e26a256db1310ae719d818e420898.cloudfront.net (CloudFront)
< x-amz-cf-pop: SEA19-C3
< x-amz-cf-id: zak2eJgPSkZ0qS0c0_ZrlgLDw81NJiGlm-w90utBUII-kEiHbt1BnA==
<
* Connection #0 to host api.themoviedb.org left intact

Response (truncated)

{
  "backdrops": [
    {
      "aspect_ratio": 1.778,
      "height": 2160,
      "iso_639_1": null,
      "file_path": "/9ijMGlJKqcslswWUzTEwScm82Gs.jpg",
      "vote_average": 5.582,
      "vote_count": 9,
      "width": 3840
    },
    {
      "aspect_ratio": 1.778,
      "height": 2160,
      "iso_639_1": null,
      "file_path": "/o7qi2v4uWQ8bZ1tW3KI0Ztn2epk.jpg",
      "vote_average": 5.566,
      "vote_count": 21,
      "width": 3840
    },
    ...
  ],
  "id": 82856,
  "logos": [
    {
      "aspect_ratio": 3.446,
      "height": 987,
      "iso_639_1": "en",
      "file_path": "/mnPy0uGoDmP3ejd0EeR7oyXDnGh.svg",
      "vote_average": 5.312,
      "vote_count": 1,
      "width": 3401
    },
    {
      "aspect_ratio": 3.458,
      "height": 347,
      "iso_639_1": "en",
      "file_path": "/umNJYUzgeOilCwFzp341ysKBgL8.svg",
      "vote_average": 5.312,
      "vote_count": 1,
      "width": 1200
    },
    ...
  ],
  "posters": [
    {
      "aspect_ratio": 0.666,
      "height": 2500,
      "iso_639_1": "en",
      "file_path": "/sWgBv7LV2PRoQgkxwlibdGXKz1S.jpg",
      "vote_average": 6.196,
      "vote_count": 23,
      "width": 1666
    },
    {
      "aspect_ratio": 0.667,
      "height": 3000,
      "iso_639_1": "en",
      "file_path": "/BbNvKCuEF4SRzFXR16aK6ISFtR.jpg",
      "vote_average": 6.146,
      "vote_count": 43,
      "width": 2000
    },
    ...
  ]
}

Hi @travisbell, Thanks for the detailed example, looks clean indeed! But I think the issue may only affect movies, not necessarily TV shows. Please see here: https://forum.kodi.tv/showthread.php?tid=339672&page=14

Olympia just said he's working on it. Looks like it might be on the KODI scraper side after all? Strange. https://forum.kodi.tv/showthread.php?tid=129821&page=141

Resolved in metadata.common.themoviedb.org v3.2.15, thanks! Have a nice weekend 😉

@p1xel said:

Resolved in metadata.common.themoviedb.org v3.2.15, thanks! Have a nice weekend 😉

Is there a Kodi 18 build of this?

@Osoa said: Is there a Kodi 18 build of this?

https://mirrors.kodi.tv/addons/leia/metadata.common.themoviedb.org/

If you have auto-update still enabled, it should have updated a couple of weeks ago.

Wait sorry, I had to refresh info on the Film.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login