Jump to content

ItemLookupService - Always English


chef

Recommended Posts

chef

Hi, I know I've asked before, and I'm not sure if this should actually be a feature request or not.

 

Each  time I use the ItemLookupService, despite requesting data in other languages, the results return in English.

For example, you can test this in the Swagger.

If I request movie data as follows:

{
  "SearchInfo": {
    "Name": "Maleficent",
    "MetadataLanguage": "DE",
    "MetadataCountryCode": "DE"    
  }
}

 

I would have expected the data to return the movie metadata in German.

But, it return's English.

[
  {
    "Name": "Maleficent",
    "ProviderIds": {
      "Tvdb": "253",
      "Official Website": "http://movies.disney.com/maleficent",
      "IMDB": "tt1587310",
      "Fan Site": "https://maleficent.fandom.com/wiki/Maleficent_Wiki",
      "Tmdb": "102651"
    },
    "ProductionYear": 2014,
    "PremiereDate": "2014-05-28T04:00:00.0000000Z",
    "ImageUrl": "https://artworks.thetvdb.com/banners/movies/253/posters/25871863.jpg",
    "SearchProviderName": "TheTVDB",
    "Overview": "A beautiful, pure-hearted young woman, Maleficent has an idyllic life growing up in a peaceable forest kingdom, until an invading army threatens the harmony of the land. Maleficent rises to be the land's fiercest protector, but she ultimately suffers a ruthless betrayal—an act that begins to turn her pure heart to stone. Bent on revenge, Maleficent faces an epic battle with the invading king's successor and, as a result, places a curse upon his newborn infant Aurora. As the child grows, Maleficent realizes that Aurora holds the key to peace in the kingdom—and perhaps to Maleficent's true happiness as well.",
    "Artists": []
  },
...
]

 

Perhaps my 'searchInfo' is not correct...

I did try "MetadataLanguage": "German". But still got a repsonse in English.

In any case, we can see that it was the TVDB that was granted the result data in the "SearchProviderName".

 

When visiting the The TVDB, and selecting the appropriate language, the name is there and available.

1270396900_tmdbresult.thumb.png.f6fdd552333aaa86f3b1949b0cc6a29f.png

 

I suppose, if this was to be a feature request, it would be this:

  • When a request is made using the ItemLookupService,  and a language is specified in the request (using either the "MetadataLanguage", or  "MetadataCountryCode")
  • Any data available from the provider which meets the search criteria language (even if it was just the name) would be returned in the language specified in the request.

 

Perhaps, I've missed something somewhere? It's unclear.

Many thanks in advance, 

Ben

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...