Infuse Bug with TMDB's TV "(something) & (something)" Genres

Continuing the discussion from Plex TV Genres shown Incorrectly:

I don’t know how recently TMDB combined their “Action & Adventure”, “Sci-Fi & Fantasy”, and “War & Politics” genres … but since TMDB is the only place where Infuse pulls TV metadata from … it’s about time Infuse fixed its bug of not being able to process the ampersand in TV genres pulled from TMDB.

TMDB Bilbe: TV Genre & Keywords

There is absolutely no reason for Infuse to separately display “Action & Adventure” as both “Action” and “Adventure” — two seemingly different genres but containing identical contents. Nor should it separately display “Sci-Fi” and “Fantasy” and “Politics” and “War”.

I mean, I wish TMDB didn’t combine the pairs. While there are distict differences between action and adventure, and ever greater difference between Sci-Fi (pew! pew!) and Fantasy (abracadabra!) and Politics and War … TMDB doesn’t care … and so Infuse users are stuck combining them. Infuse pretending the categories are distinct, when they aren’t (according to TMDB), is a nasty tease and a waste of screen real estate.

@james … Can you check on this? Thanks.

It looks like the movie genres at TMDB are still separate for those “combo” genres in TV.

I hadn’t really noticed it since I personally don’t look at genres much in TV but do use them in movies.

I would have thought it would be far simpler for TMDB to use just the one set of genres for both movies and TV with the separated ones to make searching uniform and easier. :man_shrugging:

1 Like

TMDB doesn’t separate the TV genres. Everything “Action” is “Action & Adventure” and everything “Adventure” is also “Action & Adventure”.

Same for the other two pairs.

Downloading XML via Kodi from TMDB, you’ll see unique line items for each genre (or pair of genres) as indicated on the bible page I linked.

For example, a show might be tagged with each of the “Drama” and “Mystery” and “Action & Adventure” genres at TMDB. That’s three points of information — not four. Infuse interprets the ampersand as the third data point actually containing two distinct pieces of information. This is incorrect. Infuse should not display separate “Action” and “Adventure” genres because there is only one genre — “Action & Adventure”. Everything viewable when you click “Action” is exactly what you see when you click “Adventure”, and vice versa.

The two buttons each present the same lists. Only one is needed. The redundant second (of each pair) is doubly bad UI — first, because both buttons do the same thing, and second, because the user is misled into thinking if they click on the “Sci-Fi” button they’ll be spared shows that are straight up fantasy, and if they click on “Fantasy” they’ll be spared shows that are hard sci-fi with no fantastical elements. But that doesn’t happen; because TMDB doesn’t make that distinction.

TMDB, for example, also doesn’t think “The West Wing” has anything to do with War & Politics. I click on the solo “Politics” genre and I’m expecting to find “The West Wing” or “Servant of the People” or maybe “Last Week Tonight” and “The Newsroom”. But that’s not how TMDB works.

And we’re stuck with TMDB.

This is a bigger issue with TV, because unlike with movies, Infuse doesn’t respect the genre tags in our local .NFO files for TV content.

If I’m annoyed by the genre assignments TMDB gives to my movies (like sporadically and inconsistently identifying movies as “TV Movie” genre), I can edit my .nfo files to delete that reference in the XML (and then refresh my library metadata) and that genre will no longer appear. Or I can add genres I invent on my own (such as “Marvel Cinematic Universe”). Not as easy as giving us the option to hide unwanted genres in the UI (longpress > hide) or create our own … since you need to bulk edit every title … but still workable.

No such workaround exists with TV content. This is a shame.

The bigger shame is the TV genres are broken out of the box, because Infuse is tripped up by TMDB including ampersands in a few of its defined genre fields.

Updated the thread title and category for clarity, and to hopefully catch the attention of @james .

Brief summary:

Three of TMDB’s approved television genres (of which there are exactly 16) contain an ampersand — they are “Action & Adventure”, “Sci-Fi & Fantasy”, and “War & Politics”.

Infuse incorrectly displays these three composite genres as if they were actually six distinct categories. There is not an “Action” genre for television (according to TMDB); nor is there an “Adventure” genre. There is only “Action & Adventure”.

Nor are there distinct “Sci-Fi”, “Fantasy”, “Politics”, or “War” genres. There is only “Sci-Fi & Fantasy” or “War & Politics”.

Please fix this. Thanks.

1 Like