Giter Club home page Giter Club logo

Comments (4)

noyseannoys avatar noyseannoys commented on June 11, 2024

Hi, I'm about to check everything you just wrote but my problem is that my movies are not scrobbled not only at the end of them, but even while I'm watching it. No update in the "progress" section of TraktTV.
As I posted an issue 2 days ago (which you answered) I have to tell that even if the daemon start, even if VLC is started using extraintf parameter (and host:port is correct both from command line than in the config.ini), it still seems this plugin doesn't work for me :-(.

Anyone with similar issues ?

from traktforvlc.

CoderFromCali avatar CoderFromCali commented on June 11, 2024

The issue I've described here has to do with how the script decides to scrobble something after it is working properly. If your installation is not showing progress or scrobbling it's probably not running correctly. Read through Issue 14 #14 for troubleshooting steps. Follow the steps to run the script in debug mode and the telnet test. If something fails there open a new issue and post the debug output along with the steps that you took.

from traktforvlc.

XaF avatar XaF commented on June 11, 2024

Those "last bit of logic" are actually a sort of failsafe not to scrobble movies too fast. It is not uncommon to open a movie and look at some part of the movie near the end or so, it does not mean that movie has to be scrobbled to Trakt. That failsafe is not configurable for now but should be in the future. To explain:

                and ((time.time() - self.cache['started_watching'][0])
                     > (float(video['duration']) / 3.0))

We check here that we watched the video for at least the third of the video duration as registered.

                and ((self.vlcTime - self.cache['started_watching'][1])
                     > (float(video['duration']) / 4.0))):

We check here that the duration of the part of the video we watched is at least the fourth of the video duration as registered.

self.cache['started_watching']
#Contains
#    0: the timestamp of when we started watching
#    1: the position in the video of when we started watching

from traktforvlc.

XaF avatar XaF commented on June 11, 2024

TraktForVLC 2.x makes that issue obsolete - #88

from traktforvlc.

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.