Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trakt not removing scrobbled resume point when using UpNext #294

Open
billyneptune opened this issue Mar 21, 2023 · 3 comments
Open

Trakt not removing scrobbled resume point when using UpNext #294

billyneptune opened this issue Mar 21, 2023 · 3 comments

Comments

@billyneptune
Copy link

I'm running Umbrella+ah2+tmdb helper with Trakt, real debrid, mdblist, omdb, and plex share. On an nvidia shield.

Trakt is having an issue removing the playback progress (resume point) of a TV show when using UpNext.

You can repeat this by seeking to about 50% through a show, then hitting stop. This will allow Trakt to scrobble and make a resume point in the show. Now resume and finish the show (or seek to near the end). Make sure the UpNext works correctly in loading the next episode. Once the next episode starts, stop the episode. The previous episode did not have time to remove the 50% playback progress from the prior episode, because the playback continued into the next episode. This now gives the episode both a watched status and a resume point (from stopping 50% of the way in) indicators.

You can see this by performing a scrobble reset on the episode. This will clear the resume point, but leave the watched status intact.

If you stop the first episode before UpNext starts the next episode, it will take you back to the menu and successfully remove the resume point and leave the watched status intact.

I'm guessing this is caused by there not being enough time between the 2 episodes to remove the initial resume point that was scrobbled.

@MoojMidge
Copy link
Collaborator

MoojMidge commented Mar 21, 2023

I don't think this has anything to do with this addon.

When UpNext plays the next video it simply sends a message to the Trakt addon that indicates the previous episode has ended.

Not 100% sure, but based on a quick look at the Trakt addon code, what happens next is that the Trakt addon takes care of the scrobbling based on the watched duration of the video.

If you are seeing that the video is being marked as watched in Trakt, then that is because the watched percentage exceeds the value required to mark a video as watched. There is no separate step to update the resume point and watched status - it is the same thing.

All that being said, I am pretty sure the Up Next addon is not being used in your setup anyway, since that requires integration by the streaming addon, and the one you are using doesn't integrate with Up Next, instead implementing similar functionality by itself.

Edit: the streaming addon you are using also doesn't use the Trakt addon, and does the scrobbling by itself as well, so if you are having a problem that's probably the best place to look for a solution.

@billyneptune
Copy link
Author

billyneptune commented Mar 22, 2023

I see. I've tried to run the trakt addon and upnext addon alongside the Umbrella addon, and I get the same issue.

Another thing, you can also reproduce this bug:

While playing an episode, press back to get to your menu while the episode plays in the background. Play another episode while the first episode is still playing in the background. It starts the next episode without giving time between to scrobble.

@MoojMidge
Copy link
Collaborator

I don't use Umbrella.

As I said, as far as I can tell, Umbrella does not integrate with the Trakt or Up Next addons, so installing them won't resolve your issue(s), as they won't be used.

It is possible to use a TMDB Helper player to facilitate the integration, but other than that if you are having problems with how the Umbrella addon implements scrobbling, best to seek help with that addon, not a completely unrelated one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants