Giter VIP home page Giter VIP logo

Comments (4)

SlashmanX avatar SlashmanX commented on June 28, 2024 1

Hi @rahmanmofizur,

  1. This info is from trakt, go to https://trakt.tv/oauth/applications and create a new application and it should give you trakt_client_id and trakt_client_secret.
  2. trakt_redirect_uri is something you input yourself but it has to match both on the Trakt website and in your application (My application is called CastHub so I just set it to casthub://trakt_redirect)
  3. I think you can just rename the TraktoidProviderOld and use that but not sure.

I ended up just updating to the 5.0 library and fixing the errors I found.

I will come back later and provide steps to get the project compiling with the updated libraries (5.0), there was a lot of find+replace involved, but it's not too much hassle I just don't have the code on hand right now.

from traktoid.

SlashmanX avatar SlashmanX commented on June 28, 2024

I know it's a bit late, but it anyone is having similar issues, this is how you fix it:

Edit the build.gradle and change compile project(':trakt-java-git') to compile 'com.uwetrottmann:trakt-java:4.3.0'.

That's the version this project was using before development stopped so easiest to use. You could try using the latest version (5.0.0) but likely a lot of changes would need to be made.

from traktoid.

moficodes avatar moficodes commented on June 28, 2024

@SlashmanX
Your answer finally solved few hours of work.

I just have few more questions.

trakt_client_id,
trakt_client_secret and
trakt_redirect_uri

is something I would get from trakt api?

Also TraktoidProvider.AUTHORITY does not exist.
Where would we go to create that?

the file is in
com.florianmski.tracktoid.data.provider;

Also it extend GeneratedProvider which doesnt seem to be valid.

Thank you in advance.

from traktoid.

Grishu avatar Grishu commented on June 28, 2024

@SlashmanX Thank you so much for your answer. Its really helpful and solved an issue.

from traktoid.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.