Feat: Initial setup for trakt, login only #1813
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is my attempt of adding Trakt sync to CloudStream. However this will be abandoned as the API of trakt is painfully backwards.
If someone wants to continue this pull request then update
redirectUrlIdentifier
,id
andsecret
to your local testing app. I have only implemented the login, but I cant get my head around the rest of the actual sync. For debugging purposes TraktProvider is added as a built in provider.These are the reasons I dropped this PR:
Lookup items by their Trakt, IMDB, TMDB, or TVDB ID. If you use the search url without a type it might return multiple items if the id_type is not globally unique. Specify the type of results by sending a single value or a comma delimited string for multiple types.
WATCHING
/ONHOLD
ecthttps://trakt.docs.apiary.io/#reference/sync/add-ratings/add-new-ratings
, making it very tedious, same with get rating. There is no clear or clean way to implement this as far as I know.