Coder Social home page Coder Social logo

Doesn't mark as viewed about traktflix HOT 13 CLOSED

tegon avatar tegon commented on May 30, 2024
Doesn't mark as viewed

from traktflix.

Comments (13)

tegon avatar tegon commented on May 30, 2024

Could you provide more details on this? I tested an episode here and it got marked as watched correctly.
When you started watching, Trakt displayed the progress? Did you see any errors on console? This happened with a episode in particular or with anything you watched?

from traktflix.

freijon avatar freijon commented on May 30, 2024

I watched several BoJack Horseman episodes. On my profile on Trakt it showed me the progress correclty. What might cause the problem is that I'm watching with Chromecast. But again, the progressbar on Trakt shows the correct information and the Traktflix logo turns red when playing and when I click the button it shows me the correct episode. Haven't checked the console, I'll try that in the evening.

from traktflix.

tegon avatar tegon commented on May 30, 2024

Never tested with a chromecast, but if the progress showed on trakt, the scrobble started correctly. The issue may be on the stop step. Can you tell me where you clicked? (Back to browse, next episode, etc)

from traktflix.

freijon avatar freijon commented on May 30, 2024

I either clicked on the "stacked window" symbol in the player where you can choose between episodes or I did nothing at all (let the episode run out). When connected to the Chromecast it then jumps to the main Netflix homepage. I'll now test how it behaves when I watch an episode on my laptop without the Chromecast.

EDIT: "normally" watching it on my laptop also didn't mark the episode as watched.

from traktflix.

tegon avatar tegon commented on May 30, 2024

Clicking on other episode on stacked window worked correctly, but letting the episode run out to another, there I found an issue. I am listening to popstate, so the scrobble pauses when the page backs to navigation, but in this case only the querystring change in the url. I'll see what I can do to fix this.
Thank you for reporting this bug!

from traktflix.

tegon avatar tegon commented on May 30, 2024

Fixed on v1.0.4.4573

from traktflix.

skotsjedal avatar skotsjedal commented on May 30, 2024

I have this issue still, correctly tracks "now playing" but at the end, wether I let it run to the next episode, or if I click back to browse or the x when it's waiting for the next episode. It never permanently tracks it. No Chromecast involved

edit: clicking back while still playing (during end credits) did update correctly

from traktflix.

tegon avatar tegon commented on May 30, 2024

Are you using last version? Also, can you tell me if are any erros on console?
The stop action should be called whenever an episode or movie ends, either by clicking on other links or if another episode starts. You can se on network tab in chrome developer tools, like in this screenshot:
screenshot 2015-09-18 09 46 25
The progress must be at least 80% to trakt consider it as "watched".
Could you check in your developer tools what is happening?

from traktflix.

skotsjedal avatar skotsjedal commented on May 30, 2024

version 1.0.4.4574
Watched something just now, epose was showing underway on trakt.tv but it didn't record the first episode (didn't have console open when it changed, opened it after and no errors). Let the next episode play though, that one did record.

from traktflix.

skotsjedal avatar skotsjedal commented on May 30, 2024

Tried again, it sends a stop but progress is only 76.61 although I watched it all from start to finish

start

{"episode":{"season":4,"number":12,"title":"Campaign Ad","ids":{"trakt":406268,"tvdb":4200379,"imdb":null,"tmdb":397684,"tvrage":null},"images":{"screenshot":{"full":"https://walter.trakt.us/images/episodes/000/406/268/screenshots/original/60d5730a42.jpg","medium":"https://walter.trakt.us/images/episodes/000/406/268/screenshots/medium/60d5730a42.jpg","thumb":"https://walter.trakt.us/images/episodes/000/406/268/screenshots/thumb/60d5730a42.jpg"}}},"progress":0.04}

stop

{"episode":{"season":4,"number":12,"title":"Campaign Ad","ids":{"trakt":406268,"tvdb":4200379,"imdb":null,"tmdb":397684,"tvrage":null},"images":{"screenshot":{"full":"https://walter.trakt.us/images/episodes/000/406/268/screenshots/original/60d5730a42.jpg","medium":"https://walter.trakt.us/images/episodes/000/406/268/screenshots/medium/60d5730a42.jpg","thumb":"https://walter.trakt.us/images/episodes/000/406/268/screenshots/thumb/60d5730a42.jpg"}}},"progress":76.61}

start on next episode

{"episode":{"season":4,"number":13,"title":"Bowling for Votes","ids":{"trakt":406269,"tvdb":4204799,"imdb":null,"tmdb":397682,"tvrage":null},"images":{"screenshot":{"full":"https://walter.trakt.us/images/episodes/000/406/269/screenshots/original/4d8d72c3c0.jpg","medium":"https://walter.trakt.us/images/episodes/000/406/269/screenshots/medium/4d8d72c3c0.jpg","thumb":"https://walter.trakt.us/images/episodes/000/406/269/screenshots/thumb/4d8d72c3c0.jpg"}}},"progress":null}

from traktflix.

tegon avatar tegon commented on May 30, 2024

The progress comes from the player progress bar width, basically this code:

document.getElementsByClassName('player-scrubber-progress-completed')[0].style.width

Is there any chances that the episode you watched went to the credits too soon?

from traktflix.

1anc avatar 1anc commented on May 30, 2024

I am facing this issue currently.

from traktflix.

tegon avatar tegon commented on May 30, 2024

Can you provide more info like the ones above?

from traktflix.

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.