The Movie Database atbalsts

Hello,

I'm a new API user and I have a new behaviour with the API that i don't understand. I try to get the posters in the french language using the language parameter with the following request :

http://api.themoviedb.org/3/movie/105/images?api_key=#####&language=fr.

I wrote small piece of code that was fetching that url and the first item in the posters object was directly the french version but since yesterday when I fetch exactly the same url, french image is not the first one anymore but the english one.

I read again the API documentation but I didn't found any changes about that. So is this a bug ? A new feature or a PEBKAC ? :)

Thanks for your answers.

Regards, ptitoliv

8 replies (on page 1 of 1)

Jump to last post

Hi!

I'm seeing the same behavior, no matter what I pass to the language parameter (I have tried es-es, es-ES, es-Es, ES-ES, ES-es,...), I just receive images in all the languages, whereas I would expect to receive first the local images and then the english ones, but not the french, italian, dutch,... ones.

Let's see if Travis has the time to look at it and fix the problem ;)

Many thanks for your hard work Travis and best regards,

Aitor

I just pushed a fix for this, you should start to see properly filtered images within the next few hours.

It might be worth to mentioning that while most of the movie API now supports the IETF language codes (en-US) this feature has not made it's way to images yet. As such, if you're playing with those new tags, you should use include_image_language with the bare languages (ie. en) when querying images. This is outlined in the documentation.

Hello Travis,

Thanks for your quick support and your work ! The API behaviour is back to normal.

Regards, ptitoliv

Images have not been migrated to the new system yet. I will be another month or so before they are.

@travisbell said:

this feature has not made it's way to images yet

Hi, I know this thread is old (at least I did researches) but is there a way images will use IETF codes one day? As a french user of TMDB, I often see FR-CA images with a totally different title on it. Or, when we leave the english title in France, we have FR-CA poster shown instead of the english one. I didn't see anything about that in the roadmap and I'm quite surprised it wasn't something requested before.

@Pierrou said:

@travisbell said:

this feature has not made it's way to images yet

Hi, I know this thread is old (at least I did researches) but is there a way images will use IETF codes one day? As a french user of TMDB, I often see FR-CA images with a totally different title on it. Or, when we leave the english title in France, we have FR-CA poster shown instead of the english one. I didn't see anything about that in the roadmap and I'm quite surprised it wasn't something requested before.

This evolution is in the roadmap here.

Oh thank you, I tried to search with IETF and not ISO-3166-1 since fr-FR, fr-CA, en-US are not ISO-3166-1…

Well it was created in 2019, I guess it's not a priority since english speaking users don't understand the urge to have this. But at least thank you for the link.

Nevari atrast filmu vai TV pārraidi? Jāpiesakās, lai to izveidotu.

Vispārējs

s fokusēties uz meklēšanas joslu
p atvērt profila izvēlni
esc aizvērt atvērtu logu
? atvērt īsinājumtaustiņu logu

Informācijas nesēju lapās

b atgriezties (vai pie vecākiem, ja nepieciešams)
e doties uz labošanas lapu

TV sezonas lapās

(labā bultiņa) pāriet uz nākamo sezonu
(kreisā bultiņa) pāriet uz iepriekšējo sezonu

TV sērijas lapās

(labā bultiņa) pāriet uz nākamo sēriju
(kreisā bultiņa) pāriet uz iepriekšējo sēriju

Visās attēlu lapās

a atvērt attēla pievienošanas logu

Visās labošanas lapās

t atvērt tulkošanas atlasītāju
ctrl+ s iesniegt veidlapu

Diskusiju lapās

n radīt jaunu diskusiju
w pārslēgt skatīšanās stāvokli
p pārslēgt publisko/privāto
c pārslēgt aizvērt/atvērt
a atklāta darbība
r atbilde uz diskusiju
l doties uz pēdējo atbildi
ctrl+ enter iesniegt savu ziņojumu
(labā bultiņa) nākamajā lapā
(kreisā bultiņa) iepriekšējā lapa

Iestatījumi

Vēlies novērtēt šo vienumu vai pievienot to sarakstam?

Pieteikties