Skip to content

Movie lists are missing genre_ids #89

@CIAvash

Description

@CIAvash

Describe the bug
Upcoming, Now Playing, Popular and Top Rated have genre_ids, but they are missing in golang-tmdb. Instead their struct has Genres which will be empty.

To Reproduce
Steps to reproduce the behavior:

  1. Call any of the mentioned lists: upcoming, _ := tmdbClient.GetMovieUpcoming(nil)
  2. Try to access GenreIDs: upcoming.Results[0].GenreIDs
  3. You get a missing field error for GenreIDs
  4. Instead Genres field exists but of course won't have the genres

Expected behavior
Field GenreIDs should exist and return the list of genre IDs.

Desktop (please complete the following information):

  • OS: Linux
  • Go Version: 1.25.4

Additional context
Reference: https://developer.themoviedb.org/reference/movie-upcoming-list

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions