plugin.video.themoviedb.helper icon indicating copy to clipboard operation
plugin.video.themoviedb.helper copied to clipboard

[Feature] Adding Genres for Trakt to give you more of a selection like Seren.

Open Goldenfreddy0703 opened this issue 3 years ago • 26 comments

Is your feature request related to a problem? Please describe. It is related to a problem im having. Tmdb does not give you many Genres and I think it would be a very useful and better feature to have. It gives you more Genres and a more variety of Movies and TV Shows.

Describe the solution you'd like What I would like to happen is to have a Genres button for Trakt in Movies and TV Shows Category and also having a Genres button in the Trakt category as well like how you implanted the Tmdb Genres.

Describe alternatives you've considered

  • Open Meta or Open info if they were still alive. (There dead)
  • Finding an addon that would do the same as tmdb helper. (Doubt it)

Examples of what i would like to happen

  • I Sadly Could not make a Movies Example.

TV Shows Example TV Shows Example

Trakt Example Trakt Example

Genre Icon Example genre

  • I gone ahead into photoshop and made this genre.png for you incase you would like to use it for your addon.

Goldenfreddy0703 avatar May 25 '22 14:05 Goldenfreddy0703

What genres are you not being able to find?

drinfernoo avatar May 25 '22 16:05 drinfernoo

Hey so here are a few things i can't find when using tmdb genre. I did some comparisons with trakt genre and tmdb genre to answer your question.

TV Shows

TV Shows - For Action and Adventure for TV Shows are stuck together and you can't separate them unless there is a rule. TV Shows - Sci-Fi and Fantasy are also stuck together and you can't separate them unless there is a rule. TV Shows - There is not Romance genre unless that's what soup is. TV Shows - There is no Anime genre and to make one, you would probably have to add a rule to that with the Keywords. TV Shows - There is no Biography, History, Holiday, Home % Garden, Superhero, Mini Series, Music, Musical, Suspense, Thriller, Sporting Event, Short Genre (Trakt has all of these)

Movies

Movies - There is no Anime genre and to make one, you would probably have to add a rule to that with the Keywords. Movies - There is no Holiday, Musical, Short, Sporting Event, Superhero, Suspense, Romance( Trakt also has all of these)

Goldenfreddy0703 avatar May 25 '22 17:05 Goldenfreddy0703

Hey if you guys do consider adding Trakt Genres to TMDB Helper. Here is a list of Trakt Icons i've Photoshop. The Source of these icons came from the Seren Genres category and these can be used for personal use, not commercial use. Trakt Genre Icons.zip

Trakt Genre Icons

image

Goldenfreddy0703 avatar May 26 '22 09:05 Goldenfreddy0703

Hey guys, I know it's been awhile and you guys have been busy with artic horizon 2 skin and I really love using the skin but anychance we could add Trakt genre's to Tmdb helper, I love using Tmdb helper for my android tv and everything just loads really fast. If you guys have time to add this, that would be wonderful. Thank you

Goldenfreddy0703 avatar Jun 20 '22 19:06 Goldenfreddy0703

Definitely will be including these. I've just got to write some code to allow dropping in an icon pack because some of these are non-commercial use only which is incompatible with the opensource GPL license that TMDbH has (GPL also allows commercial use).

So the solution is to include as a separate icon pack "module" and then have a button in settings to install it. That way it can be distributed with a different license.

jurialmunkey avatar Jun 21 '22 00:06 jurialmunkey

Oh wait you were asking about the genres themselves not the icon pack. But yeah same again - will definitely be adding, I just need to get the spare time to write the code!

jurialmunkey avatar Jun 21 '22 00:06 jurialmunkey

Oh ok, thank you so much for telling me. I did not know some of these icons are incompatible with the opensource GPL license becouse seren has these icons for there genres, may need to tell doc or nixgates to change them and make some of my own. Thank you.

You can also replace each genre with the trakt logo so it can be like tmdb genres

Goldenfreddy0703 avatar Jun 21 '22 00:06 Goldenfreddy0703

Yeah by default I will use that approach for the icons (use default trakt icon) and then will override if icon pack is installed.

And yeah "personal use only" or "non-commercial" licences are only "gratis" free (free as in beer) and not "libre" free (free as in freedom), so they aren't compatible with gpl because they have restrictions on use.

I have no problem with using a noncom restricted licence for other projects (all my skins are Creative Commons NonCommercial Attribution Required). Just need to make sure the licence of any assets used match with the project licence is all!

jurialmunkey avatar Jun 21 '22 01:06 jurialmunkey

Oh wait you were asking about the genres themselves not the icon pack. But yeah same again - will definitely be adding, I just need to get the spare time to write the code!

Hey that's good to hear, thank you very much. You can just do the genres themselves if you like and just use this logo for each genre. Trakt

Goldenfreddy0703 avatar Jun 21 '22 01:06 Goldenfreddy0703

And yeah "personal use only" or "non-commercial" licences are only "gratis" free (free as in beer) and not "libre" free (free as in freedom), so they aren't compatible with gpl because they have restrictions on use.

Oh ok that makes sense, thank you

Goldenfreddy0703 avatar Jun 21 '22 01:06 Goldenfreddy0703

Hey this is the same link: https://github.com/jurialmunkey/plugin.video.themoviedb.helper/issues/740#issuecomment-1178438171

Goldenfreddy0703 avatar Jul 08 '22 01:07 Goldenfreddy0703

Oh wait you were asking about the genres themselves not the icon pack. But yeah same again - will definitely be adding, I just need to get the spare time to write the code!

Trakt Genres will be an awesome addition to TMDbHelper cant wait for that 👍 . because when I change the language and region to "Arabic Saudi Arabia" in the setting, the native TMDb Genres are lacking content and some have no result at all.

psp2111-ADSLGATE avatar Jul 28 '22 23:07 psp2111-ADSLGATE

I didnt think the genre listings were region specific on tmdb - they shouldnt be because the genres are just ids which a movie either has or doesn't.

If you mean the items themselves are missing info, then trakt genres won't solve that - practically all metadata comes from TMDb as trakt doesn't supply artwork or detailed information.

jurialmunkey avatar Jul 29 '22 01:07 jurialmunkey

I didnt think the genre listings were region specific on tmdb - they shouldnt be because the genres are just ids which a movie either has or doesn't.

If you mean the items themselves are missing info, then trakt genres won't solve that - practically all metadata comes from TMDb as trakt doesn't supply artwork or detailed information.

no no not missing info, I know the info need to be added in TMDb website for specific language to show up in the add-on

What I mean by the lake of content is the numbers of movies in specific section of genres. for example: "Animation" section or in Arabic "رسوم متحركة" only show around 15 movies while in tmdb website there are 40000+ movies for that section alone.

@jurialmunkey you can test it really quickly by changing the language and country in the settings to Arabic Saudi Arabia and go to Movies Genres. it is also affects other languages not only Arabic, I thought it was how TMDb API works, if it a BUG tell me I will report it.

psp2111-ADSLGATE avatar Jul 29 '22 02:07 psp2111-ADSLGATE

Okay that's really odd! I had assumed language/region wouldn't matter for genres since it is ID based (and surely an Action movie is an Action movie everywhere in the world!)

jurialmunkey avatar Jul 29 '22 05:07 jurialmunkey

Okay that's really odd! I had assumed language/region wouldn't matter for genres since it is ID based (and surely an Action movie is an Action movie everywhere in the world!)

In a way, I don't think it's odd becouse if you think about region or language depending on where you live or speak, It would still be ID based but with rules added. It would be using your location or country your in, add the default language or region, then it would default to that depending on where you are. It's basically like tmdb advanced filtering system or trakt advanced filtering system.

Goldenfreddy0703 avatar Jul 29 '22 05:07 Goldenfreddy0703

yeah I know, I discovered this last week when I was translating the addon. that's why I think Trakt Geners will be a nice and a better alternative, specially if you add "Multi Select" function with it. OH that's going to be the cherry on top. 🙏

psp2111-ADSLGATE avatar Jul 29 '22 06:07 psp2111-ADSLGATE

Thank you for discovering this @psp2111-ADSLGATE , now I can have more of a variety with tmdb rules especially by changing the region to Japan with anime as keyword.

Goldenfreddy0703 avatar Jul 29 '22 06:07 Goldenfreddy0703

Just realised it is because the TMDb API is filtering out movies without release information for your region.

Please try v4.10.20. I've added an option in general settings to ignore region release filter which will set TMDbHelper's region param to None. That will stop the TMDb API from filtering out items without release dates for your region (essentially sets the region to "any").

The region should still apply for providers / certifications / images etc. - it just removes the region release filter.

jurialmunkey avatar Jul 29 '22 06:07 jurialmunkey

Just realised it is because the TMDb API is filtering out movies without release information for your region.

Please try v4.10.20. I've added an option in general settings to ignore region release filter which will set TMDbHelper's region param to None. That will stop the TMDb API from filtering out items without release dates for your region (essentially sets the region to "any").

The region should still apply for providers / certifications / images etc. - it just removes the region release filter.

OMG @jurialmunkey 😍 it is perfect now and working as it should be. thank you for the fast response.

Update: Discover section is acting weird, I cant add more than one rule?! Update2: I think it is a Bug with AH2 not TMDbHelper, because I changed the skin back to Estuary and Discover is working as it should be. and I can add as many rules as I want with no issue.

psp2111-ADSLGATE avatar Jul 29 '22 06:07 psp2111-ADSLGATE

Hey, sorry for bothering but i just had a small question about the Genres for Trakt. Seren had a 2 options called "Base List Type for Movie/TV Genres" and what it did was it set each genre with the trakt category you picked. image Are you going to add an option or discover rule like this for tmdb helper and have categories like Most Popular, Most Played, Most Watched, Most Collected, Trending, Anticipated, ect?

Goldenfreddy0703 avatar Aug 02 '22 02:08 Goldenfreddy0703

@Goldenfreddy0703 - illl have to have a closer look at the api before deciding on exact approach but yes should be able to add a filter for these lists. I'd look for a better approach than a setting because I don't like how that locks you into one option - itd be much better to be able to mix and match filters/sort like you can with tmdb discover

jurialmunkey avatar Aug 04 '22 04:08 jurialmunkey

Honestly I agree, if you can get multiple filters for genres, I would love that so much and it will give me more sections to make more anime sections.

Thank you very much and hope the api has more filters for genres.

Goldenfreddy0703 avatar Aug 04 '22 04:08 Goldenfreddy0703

@Goldenfreddy0703 - This one is also added now.

Using trakt genre slugs for the icon names, so should work with your existing icon pack for this one (the slugs don't change for language and they match the english name).

There is now a Trakt "Genres" directory inside Movies and TV. Opening the genres will then open a subfolder for the genre where you can pick whether to filter by trending, popular, most played, most watched, or anticipated.

Additionally, you can now do more advanced filtering of those trakt lists via plugin url - %2C is comma character for separating multiple genres

plugin://plugin.video.themoviedb.helper/?info=trakt_trending&genre=action%2Cadventure&tmdb_type=movie

Other possible filters as per Trakt API: https://trakt.docs.apiary.io/#introduction/filters

More advanced filtering example: Popular Action and Adventure Movies from 2010 to 2020 that have the keyword Aliens

plugin://plugin.video.themoviedb.helper/?info=trakt_popular&genre=action%2Cadventure&tmdb_type=movie&years=2010-2020&query=Aliens

jurialmunkey avatar Oct 24 '23 08:10 jurialmunkey

Hey sorry I was asleep but that is very interesting and it gives you more menu options for a certain genre, I like that. That is really interesting. Will have to look into this more this afternoon.

Thank you

Goldenfreddy0703 avatar Oct 24 '23 10:10 Goldenfreddy0703

Thank you @Goldenfreddy0703 and @jurialmunkey for this new feature it really comes in handy I made a separate section in my personal AH2❤️💯build ,,AH2 is the best skin I've ever tried in years

xyzfre avatar Oct 26 '23 14:10 xyzfre