TMDB's origin_country returns ISO codes (KR), not full names, causing a vault regression from South Korea to KR. buildRecord now prefers production_countries[0].name, falling back to the raw origin_country code only when absent. TMDB also now returns vote_average at full precision (6.537), causing mass diff noise against the vault's 1-decimal convention and spurious rewrites on precision drift alone. tmdb_rating is now rounded to 1 decimal place. Loki fixture updated to realistic TMDB shapes (ISO country code + production_countries) to catch this regression going forward.
86 lines
1.5 KiB
JSON
86 lines
1.5 KiB
JSON
{
|
|
"id": 84958,
|
|
"name": "Loki",
|
|
"original_name": "Loki",
|
|
"original_language": "en",
|
|
"spoken_languages": [
|
|
{
|
|
"iso_639_1": "en",
|
|
"english_name": "English"
|
|
}
|
|
],
|
|
"overview": "After stealing the Tesseract...",
|
|
"episode_run_time": [],
|
|
"status": "Ended",
|
|
"first_air_date": "2021-06-09",
|
|
"last_air_date": "2023-11-09",
|
|
"number_of_seasons": 2,
|
|
"number_of_episodes": 12,
|
|
"networks": [
|
|
{
|
|
"name": "Disney+"
|
|
}
|
|
],
|
|
"vote_average": 8.2,
|
|
"homepage": "https://www.disneyplus.com/series/wp/6pARMvILBGzF",
|
|
"poster_path": null,
|
|
"genres": [
|
|
{
|
|
"name": "Drama"
|
|
},
|
|
{
|
|
"name": "Sci-Fi & Fantasy"
|
|
}
|
|
],
|
|
"origin_country": [
|
|
"US"
|
|
],
|
|
"production_countries": [
|
|
{
|
|
"iso_3166_1": "US",
|
|
"name": "United States of America"
|
|
}
|
|
],
|
|
"created_by": [
|
|
{
|
|
"name": "Michael Waldron"
|
|
}
|
|
],
|
|
"aggregate_credits": {
|
|
"cast": [
|
|
{
|
|
"name": "Tom Hiddleston"
|
|
},
|
|
{
|
|
"name": "Sophia Di Martino"
|
|
}
|
|
]
|
|
},
|
|
"external_ids": {
|
|
"imdb_id": "tt9140554"
|
|
},
|
|
"content_ratings": {
|
|
"results": [
|
|
{
|
|
"iso_3166_1": "US",
|
|
"rating": "TV-14"
|
|
}
|
|
]
|
|
},
|
|
"videos": {
|
|
"results": [
|
|
{
|
|
"site": "YouTube",
|
|
"type": "Trailer",
|
|
"official": true,
|
|
"key": "nW948Va-l10"
|
|
}
|
|
]
|
|
},
|
|
"last_episode_to_air": {
|
|
"season_number": 2,
|
|
"episode_number": 6,
|
|
"name": "Glorious Purpose"
|
|
},
|
|
"next_episode_to_air": null
|
|
}
|