Hi, I'm the developer of SeriesGuide and tmdb-java!
On occasion and for random shows and for one or more seasons of that show data returned by TMDb is not in the available translation. The issue typically disappears when the request is tried again later (e.g. within a few hours).
APIs used are https://developers.themoviedb.org/3/tv-seasons/get-tv-season-details and https://developers.themoviedb.org/3/tv/get-tv-details. So far only observed with language code de
. User agent is okhttp/4.9.1
.
For example GET https://api.themoviedb.org/3/tv/4087/season/8?language=de&api_key=API_KEY
I sadly can't share any response headers as I'm not able to reproduce the issue due to it appearing so rarely. Let me know if there is any additional info that I can share!
More details also in the GitHub issue at https://github.com/UweTrottmann/SeriesGuide/issues/807
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Keks
بتاريخ يوليو 14, 2021 في 10:09 صباحا
I am a user of SeriesGuide and have this problem almost every day. Thanks to Uwe for reporting this problem. It's weird, that not a whole series is affected, but only a few seasons.
If can I help anyhow, please tell me. (I am using the Android app "SeriesGuide" on my tablet Samsung Galaxy S7+.)
رد بواسطة vkay
بتاريخ يوليو 14, 2021 في 1:15 مساءا
What about using the primary language translation instead?
In other words the ISO-3166-1 (
de-DE
) instead of ISO-639-1 (de
). I hadn't problems so far while using the primary country added to the language.رد بواسطة Uwe Trottmann
بتاريخ يوليو 16, 2021 في 11:19 صباحا
OK, got headers of a response that incorrectly contains English data.
Running the same request from my dev machine I get the "correct" response with German data, but looking at headers from a different cache server. See https://github.com/UweTrottmann/SeriesGuide/issues/807#issuecomment-881521036 (forum would not let me post such a long message here).
رد بواسطة Travis Bell
بتاريخ يوليو 16, 2021 في 12:08 مساءا
Ya, so it looks like the same cache key is being used for 2 separate requests, which is obviously wrong and shouldn't be happening.
Can you let me know the full request headers you're sending? I want to see the whole request in detail.
رد بواسطة Uwe Trottmann
بتاريخ يوليو 21, 2021 في 1:41 صباحا
Example request headers:
I'm assuming
If-None-Match
is sent because the HTTP client cache contained the previous response (edit: actually matches etag from above request).رد بواسطة Uwe Trottmann
بتاريخ نوفمبر 10, 2021 في 8:56 صباحا
This still keeps happening. Is there anything else I can share or do to move this along?
رد بواسطة Keks
بتاريخ أبريل 10, 2022 في 11:53 صباحا
@travisbell : Any news about this problem? This is happening (and annoying) every day for me.
رد بواسطة Keks
بتاريخ يونيو 9, 2022 في 5:31 مساءا
Hi @travisbell , you confirmed this as a bug. Any news about fixing it? Thanks a lot! This problem occurs every day. :-(
رد بواسطة Travis Bell
بتاريخ يونيو 9, 2022 في 5:42 مساءا
Hi @KeksBln, I saw what I believe to be the issue in the data but no matter what combination of ways I try and re-create the problem in dev so that I can fix the issue, I have been unable to do so.
رد بواسطة Keks
بتاريخ يونيو 11, 2022 في 4:19 مساءا
I tried just two requests and could reproduce it (via latest Chrome on Android 12 and Firefox on Windows 10): https://api.themoviedb.org/3/tv/58841/season/7?language=de&api_key=...
returns the english data instead of the german data.
Request (FF, Win10):
Response:
When requesting "language=en", then the "x-memc..." values are different, but the etag is identical:
When requesting "language=de-DE", then the correct german data is returned (at the moment). Response header (with different etag):
رد بواسطة Keks
بتاريخ يونيو 11, 2022 في 4:51 مساءا
Oh, now "language=de" returns the german data again. Response Header:
... in my FF on Win10. But in my Chrome on Android the URL still returns the english data (even when I hit Ctrl+Shift+R)!
EDIT: Oh, it's again the english data in my FF on Win10. Weird ...
رد بواسطة Keks
بتاريخ يونيو 11, 2022 في 5:03 مساءا
I can not reproduce it (until now) with "language=fr" or "language=de-DE" (or "de-de").
رد بواسطة Keks
بتاريخ يونيو 17, 2022 في 6:50 مساءا
@travisbell : Since my last comment I could not reproduce it for this URL / for this series and season.
Now the problem is here: series "S.W.A.T.", seasons 1, 2, 4, and 5:
https://api.themoviedb.org/3/tv/71790/season/1?language=de&api_key=...
https://api.themoviedb.org/3/tv/71790/season/2?language=de&api_key=...
https://api.themoviedb.org/3/tv/71790/season/4?language=de&api_key=...
https://api.themoviedb.org/3/tv/71790/season/5?language=de&api_key=...
But season 3 is correct in german:
https://api.themoviedb.org/3/tv/71790/season/3?language=de&api_key=...
When I use "language=de-de", then always the correct german data is returned.
@aeonmckay : Could you use "de-de" instead of "de" in the app as a workaround?
رد بواسطة Keks
بتاريخ يونيو 19, 2022 في 12:37 مساءا
@travisbell : "S.W.A.T." works again, now here is the problem ("Desperate Housewives"): https://api.themoviedb.org/3/tv/693/season/3?language=de&api_key=...
Again, "language=de-de" is correct.
رد بواسطة ticao2 🇧🇷 pt-BR
بتاريخ يونيو 19, 2022 في 1:34 مساءا
There are 3 variations for "de" language:
12 "de-AT"
13 "de-CH"
14 "de-DE"
See here https://developers.themoviedb.org/3/configuration/get-primary-translations
The default language "de" is "de-DE".