jarnedemeulemeester / findroid

Third-party native Jellyfin Android app
GNU General Public License v3.0
2.62k stars 163 forks source link

Findroid may occasionally jumps/skips next episode (E2) to other (E3 or more) #771

Open nattadasu opened 5 months ago

nattadasu commented 5 months ago

Describe the bug This issue happened to me occasionally without any prior error notice (lags, hang popup, etc) from the app itself. Basically when you finished watching an episode (assumes E1) and watch next (E2), Findroid sometimes skips E2 and play E3 or else instead. It might be an issue from my phone or it just have late response time from Jellyfin.

To Reproduce Steps to reproduce the behavior, which may take a time to find:

  1. Watch an episode with unwatched episode series up to 2-5. For simplicity, we call this E1.
  2. Watch or seek near the end of episode
  3. Observe which episode it plays, preferably check episode number or title from the video, and compare what does app show.

Expected behavior Next episode should match with short metadata (playback title) and should be E2.

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot_2024-06-08-15-31-48-784_dev jdtech jellyfin

Device info (please complete the following information):

Additional context It would have been better if the app does have some validation before playback starts, by comparing its ID from the episode list, currently watching, and Jellyfin feed. So when it fails, it'd rather force to find the true next episode than confusing the viewer watching wrong episode.

Additionally, this bug is obscure enough, it just happened at random time.

nattadasu commented 5 months ago

P.S: Jellyfin reported in the activity log if the app played E5 of the show I'm currently watching instead what Findroid reports as E4.

Consequently, Findroid will mark the wrong episode (E4) as watched than E5, which could give user an issue if playback also tracked by Trakt and SIMKL.