GithubHelp home page GithubHelp logo

Issues with Trakt about trakt.py HOT 10 CLOSED

fuzeman avatar fuzeman commented on June 15, 2024
Issues with Trakt

from trakt.py.

Comments (10)

ThatSlimGuy avatar ThatSlimGuy commented on June 15, 2024

Here is my log, i think i see where the error happens on line 3348

https://paste.kodi.tv/nuyucujuva.kodi

from trakt.py.

razzeee avatar razzeee commented on June 15, 2024

trakt/script.trakt#504

from trakt.py.

fuzeman avatar fuzeman commented on June 15, 2024

It looks like this might be related to connection pooling in requests/urllib3, the log file shows the request is made without any re-connection attempt (which would be expected after 20 minutes of no requests to Trakt.tv).

The log file does show earlier requests trigger re-connections:

18:12:06.375 T:175723484400   DEBUG: [script.trakt] urllib3.connectionpool: Starting new HTTPS connection (1): api.trakt.tv:443
18:33:20.296 T:175723484400   DEBUG: [script.trakt] urllib3.connectionpool: Resetting dropped connection: api.trakt.tv

I'm guessing requests/urllib3 is failing to retry requests on dropped connections for some reason, no idea what would be causing this...


@razzeee Duplicate scrobbles are rejected by Trakt.tv now (source), so you could try enable retry=True for Trakt['scrobble'].stop at traktapi.py#L160. This could be added as a separate configuration option to avoid any risk of duplication for existing users.

from trakt.py.

ThatSlimGuy avatar ThatSlimGuy commented on June 15, 2024

This pretty much happens every time without fail when playing things through kodi on 2 seperate machines, 2 seperate versions with a variations in versions on each other them. Which kept pushing me to believe it was something to do with my trakt. But, even using a fresh account from trakt, same issue occurred each and every time!

Ive not resorted to just watching what ever things i watch. And at some point either update library, which in turn runs trakt at the end. Or set a shortcut for trakt to run at the bottom of a skin to then force mark stuff as watched there. I watced a total of about 8-10 episodes in the last 2 days. Ratings never popped in any of them. Most episodes have about a minute left when i end them, and have gone well past the % time i had set on them for it to initiate. Very confusing.

from trakt.py.

ThatSlimGuy avatar ThatSlimGuy commented on June 15, 2024

Can I just leave a final note if this is being closed, more so if anyone else ever comes across this exact same issue. It was never solved or fixed. Still have same issues even as recent ad yesterday. Not sure why, looks as if I never will. Thanks for the assistance either way.

from trakt.py.

fuzeman avatar fuzeman commented on June 15, 2024

I detailed a possible workaround that could be implemented in script.trakt. Decided to close this issue as there was nothing more planned in trakt.py in relation to this issue.

from trakt.py.

ThatSlimGuy avatar ThatSlimGuy commented on June 15, 2024

I detailed a possible workaround that could be implemented in script.trakt. Decided to close this issue as there was nothing more planned in trakt.py in relation to this issue.

Yeah that's cool. Nothing got changed so not much else I can do. I can't possibly be the only person out there that has the issue, but I've learned to live with it now. Againni do appreciate the help!

from trakt.py.

razzeee avatar razzeee commented on June 15, 2024

trakt/script.trakt@e415f9f has been added and released for matrix, we could backport that, but only if it's confirmed, that it helps.

from trakt.py.

ThatSlimGuy avatar ThatSlimGuy commented on June 15, 2024

I guess I could always just tried matrix on my Nvidia shield. Either way if it can be added to an older version with out to much hassle I'm happy to test it to see if it works. I'm only going by what you guys have said based upon my log file. Is it easier for me to test a version of matrix ?

from trakt.py.

razzeee avatar razzeee commented on June 15, 2024

I'm quiet short on time, so that's my problem right now.

from trakt.py.

Related Issues (20)

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.