The Movie Database támogatás

according to the bug report at https://gitlab.com/tinyMediaManager/tinyMediaManager/issues/708 I've figured out, that when only passing "fr" as the language string (https://api.themoviedb.org/3/movie/301528?language=fr&append_to_response=credits%2Ckeywords%2Crelease_dates%2Ctranslations&api_key=...) it looks like the the texts are returned in the language fr-CA.

according to your api docs at https://developers.themoviedb.org/3/getting-started/languages it should return the translations of fr-FR

12 válasz érkezett (1 / 1 oldalból)

Jump to last post

any news on this?

I'm not seeing this as an issue with the item you linked to above. Here's the fr-FR data:

https://www.themoviedb.org/movie/301528-toy-story-4?language=fr-FR

And the fr-CA data:

https://www.themoviedb.org/movie/301528-toy-story-4?language=fr-CA

The data being returned here on this call:

https://api.themoviedb.org/3/movie/301528?language=fr&append_to_response=credits,keywords,release_dates,translations&api_key=###

Looks to match fr-FR.

strange - the last time I checked that it was returning the values for fr-CA. I suggest that was only a hiccup of the API then.

Thanks for looking into this

No problem.

Cheers.

I have a similar problem. The following request returns language de-EN instead of de-DE: https://api.themoviedb.org/3/movie/14161?api_key=xxx&language=de&append_to_response=credits

Hi @MyBoards, de-EN is not a valid translation, so I don't know what you mean. Our language codes are language-REGION.

In any case, this request looks correct to me:

Request

curl -v "https://api.themoviedb.org/3/movie/14161?api_key=###&language=de&append_to_response=credits"

> GET /3/movie/14161?api_key=###&language=de&append_to_response=credits HTTP/2
> Host: api.themoviedb.org
> user-agent: curl/7.72.0
> accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 200
< content-type: application/json;charset=utf-8
< content-length: 57053
< date: Sun, 18 Oct 2020 22:56:45 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=21600
< x-memc: HIT
< x-memc-key: 9d6350a64f678b4cedd6b77389223e09
< x-memc-age: 10880
< x-memc-expires: 10720
< etag: W/"252ddb5876541aaf744946d2d2b7984b"
< last-modified: Sun, 18 Oct 2020 22:56:45 GMT
< vary: Accept-Encoding,Accept-Encoding,Accept-Encoding
< x-cache: Miss from cloudfront
< via: 1.1 9490d2a8f83e1d354892993e3f44be7c.cloudfront.net (CloudFront)
< x-amz-cf-pop: HIO51-C1
< x-amz-cf-id: w1ARJlaoZljWm6lOrA9dEZTS1v0B8l5CO0rUsFy6ZOW5WHNXKFRvvw==
<
* Connection #0 to host api.themoviedb.org left intact

Response

{
  "adult": false,
  "backdrop_path": "/jCvkDqWWBrgxf9R3DrtJ6GpqXse.jpg",
  "belongs_to_collection": null,
  "budget": 200000000,
  "genres": [
    {
      "id": 28,
      "name": "Action"
    },
    {
      "id": 12,
      "name": "Abenteuer"
    },
    {
      "id": 878,
      "name": "Science Fiction"
    }
  ],
  "homepage": "http://www.sonypictures.com/movies/2012",
  "id": 14161,
  "imdb_id": "tt1190080",
  "original_language": "en",
  "original_title": "2012",
  "overview": "2012 endet nach dem Kalender der Maya ein Zeitalter und die bekannte Welt wird in einer Katastrophe untergehen. Während Experten nach einem Ausweg suchen und die US-Regierung bereits einen geheimen Plan für die Rettung eines Teils der Menschheit erstellt, sind sich normale Bürger wie Jackson Curtis der nahenden Naturkatastrophe nicht bewusst. Die Begegnung mit dem Wissenschaftler Charlie Frost, der die Anzeichen für das bevorstehende Weltende dokumentiert, nimmt Curtis zunächst nicht ernst. Doch schon bald mehren sich die Vorzeichen und Curtis wird klar, dass ein wenig aussichtsreicher Kampf ums Überleben begonnen hat.",
  "popularity": 41.67,
  "poster_path": "/AbGkzuS30NG5CfJh2JYV959Zj59.jpg",
  "production_companies": [
    {
      "id": 5,
      "logo_path": "/71BqEFAF4V3qjjMPCpLuyJFB9A.png",
      "name": "Columbia Pictures",
      "origin_country": "US"
    },
    {
      "id": 347,
      "logo_path": null,
      "name": "Centropolis Entertainment",
      "origin_country": ""
    },
    {
      "id": 10905,
      "logo_path": null,
      "name": "Farewell Productions",
      "origin_country": ""
    },
    {
      "id": 1557,
      "logo_path": "/ccz9bqCu3jSFKbPFnfWmjAKZLBL.png",
      "name": "The Mark Gordon Company",
      "origin_country": "US"
    }
  ],
  "production_countries": [
    {
      "iso_3166_1": "CA",
      "name": "Canada"
    },
    {
      "iso_3166_1": "US",
      "name": "United States of America"
    }
  ],
  "release_date": "2009-10-10",
  "revenue": 769653595,
  "runtime": 158,
  "spoken_languages": [
    {
      "iso_639_1": "en",
      "name": "English"
    },
    {
      "iso_639_1": "it",
      "name": "Italiano"
    },
    {
      "iso_639_1": "pt",
      "name": "Português"
    },
    {
      "iso_639_1": "bo",
      "name": ""
    },
    {
      "iso_639_1": "ru",
      "name": "Pусский"
    },
    {
      "iso_639_1": "zh",
      "name": "普通话"
    },
    {
      "iso_639_1": "fr",
      "name": "Français"
    },
    {
      "iso_639_1": "la",
      "name": "Latin"
    },
    {
      "iso_639_1": "hi",
      "name": "हिन्दी"
    },
    {
      "iso_639_1": "es",
      "name": "Español"
    }
  ],
  "status": "Released",
  "tagline": "Wir waren gewarnt.",
  "title": "2012",
  "video": false,
  "vote_average": 5.8,
  "vote_count": 9106,
  "credits": {
    ...
  }
}

Yesterday the overview field was in english. Today it is correct in german.

I have another example.

curl -v http://api.themoviedb.org/3/movie/121856?api_key=xyz&language=de&append_to_response=credits

The overview field is english instead of german.

I try to post request and response formatted, but i have some trouble. The preview looks good, but the real message not. So i deleted my message and fail now on spam filter.

Request

> GET /3/movie/121856?api_key=xxx&language=de&append_to_response=credits HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.64.0
> Accept: */*
> 
< HTTP/1.1 200 OK
< Content-Type: application/json;charset=utf-8
< Content-Length: 64510
< Connection: keep-alive
< Date: Mon, 19 Oct 2020 08:52:33 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=21600
< x-memc: HIT
< x-memc-key: ccd0b3d715452deeb222449fc11d0999
< x-memc-age: 2883
< x-memc-expires: 18717
< ETag: W/"0f85aaed5b5db6a5ffe87dc3b791cc2e"
< Last-Modified: Mon, 19 Oct 2020 08:52:33 GMT
< Vary: Accept-Encoding,Accept-Encoding,Accept-Encoding
< X-Cache: Hit from cloudfront
< Via: 1.1 a10d58b5ce965502cc34c5b27682fe23.cloudfront.net (CloudFront)
< X-Amz-Cf-Pop: FRA2-C2
< X-Amz-Cf-Id: KkopLac8ZBgJdLczmTti3zrWJYywBhF5il-bBf2gOCmcGk0J3QzTZw==
< Age: 4914

Response

{
  "adult":false,
  "backdrop_path":"/cjFawSYprlCnrlCm85PbcTWlIg1.jpg",
  "belongs_to_collection":null,
  "budget":125000000,
  "genres":[
    {
      "id":28,
      "name":"Action"
    },
    {
      "id":12,
      "name":"Adventure"
    },
    {
      "id":878,
      "name":"Science Fiction"
    }
  ],
  "homepage":"http://www.foxmovies.com/movies/assassins-creed",
  "id":121856,
  "imdb_id":"tt2094766",
  "original_language":"en",
  "original_title":"Assassin's Creed",
  "overview":"Through unlocked genetic memories that allow him to relive the adventures of his ancestor in 15th century Spain, Callum Lynch discovers he's a descendant of the secret 'Assassins' society. After gaining incredible knowledge and skills, he is now poised to take on the oppressive Knights Templar in the present day.",
  "popularity":29.012,
  "poster_path":"/kDXewoEcvbn0pUvJ8W3vfkuWgHw.jpg",
  "production_companies":[
    {
      "id":10104,
      "logo_path":"/hNuGhsKVlmhnwSRcmOejDBDjh6w.png",
      "name":"New Regency Pictures",
      "origin_country":"US"
    },
    {
      "id":508,
      "logo_path":"/7PzJdsLGlR7oW4J0J5Xcd0pHGRg.png",
      "name":"Regency Enterprises",
      "origin_country":"US"
    },
    {
      "id":862,
      "logo_path":"/udTjbqPmcTbfrihMuLtLcizDEM1.png",
      "name":"The Kennedy/Marshall Company",
      "origin_country":"US"
    },
    {
      "id":4615,
      "logo_path":"/vywqnH3zMq0dJK1M3Bn6wg3vrud.png",
      "name":"Ubisoft",
      "origin_country":"FR"
    },
    {
      "id":8870,
      "logo_path":null,
      "name":"CatchPlay",
      "origin_country":""
    },
    {
      "id":19108,
      "logo_path":null,
      "name":"Latina Pictures",
      "origin_country":"MT"
    },
    {
      "id":77845,
      "logo_path":null,
      "name":"Monarchy Enterprises S.a.r.l.",
      "origin_country":""
    },
    {
      "id":83857,
      "logo_path":"/kwC8GXtLzHN7pQi2Fh7CJ8XcuwD.png",
      "name":"Ubisoft Motion Pictures",
      "origin_country":"FR"
    },
    {
      "id":86766,
      "logo_path":null,
      "name":"DMC Film",
      "origin_country":""
    },
    {
      "id":86767,
      "logo_path":null,
      "name":"Alpha Pictures",
      "origin_country":""
    },
    {
      "id":41624,
      "logo_path":"/wzKxIeQKlMP0y5CaAw25MD6EQmf.png",
      "name":"RatPac-Dune Entertainment",
      "origin_country":"US"
    }
  ],
  "production_countries":[
    {
      "iso_3166_1":"FR",
      "name":"France"
    },
    {
      "iso_3166_1":"MT",
      "name":"Malta"
    },
    {
      "iso_3166_1":"HK",
      "name":"Hong Kong"
    },
    {
      "iso_3166_1":"GB",
      "name":"United Kingdom"
    },
    {
      "iso_3166_1":"US",
      "name":"United States of America"
    },
    {
      "iso_3166_1":"TW",
      "name":"Taiwan"
    }
  ],
  "release_date":"2016-12-21",
  "revenue":240697856,
  "runtime":115,
  "spoken_languages":[
    {
      "iso_639_1":"en",
      "name":"English"
    },
    {
      "iso_639_1":"pt",
      "name":"Português"
    },
    {
      "iso_639_1":"es",
      "name":"Español"
    }
  ],
  "status":"Released",
  "tagline":"Your destiny is in your blood.",
  "title":"Assassin's Creed",
  "video":false,
  "vote_average":5.4,
  "vote_count":5936,
  "credits":{
    ...
  }
}

I have the same problem on https://api.themoviedb.org/3/genre/movie/list?language=pt-BR (Using Bearer Token). If i send the request from documentation site (https://developers.themoviedb.org/3/genres/get-movie-list) the response is valid but on my app the response is invalid (en).

Nem találsz egy filmet vagy egy sorozatot? Jelentkezz be és hozd létre.

Globális

s focus the search bar
p profil menü megnyitása
esc close an open window
? billentyűparancsok ablak megnyitása

Minden média oldalon

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

On TV season pages

(jobbra nyíl) ugrás a következő évadra
(balra nyíl) vissza az előző évadra

Tévéepizód oldalakon

(jobbra nyíl) ugrás a következő részre
(balra nyíl) vissza az előző részre

Minden kép oldalon

a kép hozzáadása ablak megnyitása

Minden szerkesztő oldalon

t fordítás választó megnyitása
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 ugrás az utolsó válaszhoz
ctrl+ enter submit your message
(jobbra nyíl) következő oldal
(balra nyíl) előző oldal

Beállítások

Want to rate or add this item to a list?

Bejelentkezés