Skip to content

Wrong started_at in /users/id/watching API #782

@martinr92

Description

@martinr92

The api /users/id/watching returns sometimes the wrong started_at timestamp.

This is an example how to reproduce the issue:

  • The User checks in to an Episode of a TV show (e.g. s01e01) at 9:00
  • The API returns (correctly) started at 9:00 and expires at 9:45 and the content of episode s01e01
  • Then the user doesn't watch the credits of the episode and directly starts the next episode at 9:43 (s01e02)
  • The API returns now still started at 9:00 (expected is 9:43) and expires at 10:28 and the content of episode s01e02

This results in an inconsistent state: the app assumes now that this episode s01e02 was started at 9:00 (instead of 9:43).

Hope you can reproduce and fix the issue.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions