Closed dcamenisch closed 10 months ago
I also tried this with the newest version (HEAD of main branch) and the result is the same.
let images = try await tvEpisodeService.images(forEpisode: 43, inSeason: 1, inTVSeries: 37854).stills
print(images) // prints: []
The problem seems to be that the final URL looks like this:
https://api.themoviedb.org/3/tv/1429/season/1/episode/18/images?api_key=***&language=en
But it should look like:
https://api.themoviedb.org/3/tv/1429/season/1/episode/18/images?api_key=***
A possible solution would be to change language=en to language=en%2Cnull (or language=
Thanks @dcamenisch 🙏🏻
Executing the following code
results in the following value for
images
:TVShowEpisodeImageCollection(id: 1153014, stills: [])
. However, the correct result (as tested on https://developer.themoviedb.org/reference/tv-episode-images) should be:I used the latest release version of the package (9.0.0).