meta4kodi icon indicating copy to clipboard operation
meta4kodi copied to clipboard

Trakt Integration request

Open mhancoc7 opened this issue 8 years ago • 19 comments

I think it would be great to have trakt integration so that the addon could be authorized via the trakt api to pull in a users collections from trakt. Then there could be two new sections.

My Movie Collection My TV Collection

It could also be used for trakt lists and such. However, I think to keep things simple just the main trakt collections would be perfect.

mhancoc7 avatar Mar 15 '16 19:03 mhancoc7

I would like to also have.

TV Show Calendar My Next Episodes Trakt on Deck My Custom Trakt Lists Liked Trakt Lists Trakt Lists Search Add to Trakt (Lists, My Movie Collection, My TV Collection )

and the list could go on for ever.....LOL

ghost avatar Mar 15 '16 22:03 ghost

i'm currently working on some basic trakt stuff, have a look at https://github.com/midraal/meta4kodi/tree/trakt

ghost avatar Mar 23 '16 23:03 ghost

Nice! I'll test and integrate your changes once completed. Keep in mind that I'm working on (kind of) a rewrite of Meta to decouple completely its three main parts (play, library and navigation) so, among other things, trakt listing won't be just a patch. Since it will take a while until it's completed your work is a huge help to fill the gap.

metate avatar Mar 24 '16 02:03 metate

i can get it working, but it won't be very visualy pleasing it'll probably need some addiional work even after i'm finished with it, as i can't figure out how to get fanart working

ghost avatar Mar 24 '16 02:03 ghost

Shouldn't be a problem, I will add it later. According to the docs adding ?extendes=images to the query will add links for poster, fanart and banner to the response. Then all we nees is to set the fanart and poster properties for the list items as we do for tmdb.

metate avatar Mar 24 '16 03:03 metate

would you mind if i put in a call for testers on the forum? it's in a usable state now, but it could use some more eyes on it

ghost avatar Mar 24 '16 04:03 ghost

Feel free to post it on the forums. Also, please submit a PR (I won't merge until you say so but it would be better to continue discussion there).

metate avatar Mar 24 '16 09:03 metate

Still missing:

  • Recommendations
  • Trakt on deck
  • Custom lists
  • Liked lists
  • Lists search
  • Add to Trakt (Lists, My Movie Collection, My TV Collection )

metate avatar Mar 25 '16 14:03 metate

started working on adding some more of the missing items.

ghost avatar Apr 04 '16 13:04 ghost

@CrazyGamerTV : what do you mean with lists search? search within a list, search across lists or search for lists?

ghost avatar Apr 06 '16 22:04 ghost

@midraal Search for other users custom lists example: https://trakt.tv/search/lists?utf8=%E2%9C%93&query=comedy and then have the ability to add their lists to my liked lists. It would be nice if we could search across all lists for a title too but I was mainly wanting the example above. Thank You!

ghost avatar Apr 07 '16 05:04 ghost

looks like that currently isn't possible as searching for a list through the api doesn't return enough data to actually get at the list items. i've submitted a request to change the api, so hopefully it'll be added soon

ghost avatar Apr 07 '16 06:04 ghost

Don't you get "ids" along with the result? then use the list id (or slug) from there to fetch list items. At least that's what I see in the docs.

metate avatar Apr 07 '16 11:04 metate

yeah, i get ids, but no username which is also needed

ghost avatar Apr 07 '16 13:04 ghost

LOL, how did they miss that ;)

metate avatar Apr 07 '16 13:04 metate

my reaction was about the same. oh look, a method to search for lists -> look through output -> ............ wut? :smile:

ghost avatar Apr 07 '16 13:04 ghost

looks like it's added now: http://support.trakt.tv/forums/188762-general/suggestions/13338831-add-username-to-text-query-lists-items

ghost avatar Apr 08 '16 23:04 ghost

should be all done now

ghost avatar Apr 10 '16 17:04 ghost

I am just getting back to trying out Meta and it is great especially with Trakt integration. I have noticed that my watched history doesn't seem to be synchronized though. Is that something that is still missing or something that could be added? Basically would be nice to have what I have marked as watched be marked as watched in Meta. Thanks!!!

mhancoc7 avatar Jun 20 '16 13:06 mhancoc7