Skip to content

[Bug]: nonexistent videos show up in watch history #8152

@imre84

Description

@imre84

Guidelines

Describe the bug

hello, nonexistent videos show up in watch history.

steps to reproduce:

  1. make sure you only have one window of freetube open
  2. use freetube to play a youtube video
  3. verify that the video is playing fine
  4. refrain from navigating away from this video even after the video stopped
  5. wait until the video concludes
  6. refrain from navigating away from this video even after the video stopped
  7. use a browser to verify that there's no video here: https://youtu.be/NONEXISTENT
  8. use a terminal to issue this command: freetube https://youtu.be/NONEXISTENT
  9. actual behaviour: verify that your previous video starts to play again. expected behaviour: no video should be playing
  10. now you don't need to wait for the end of the video, click history in your freetube window
  11. actual behaviour: the nonexistent video shows up in your watch history expected behaviour: the nonexistent video should not show up in your watch history
  12. now redo all above steps with a private video, deleted video, etc to verify that the issue is present in those cases as well.

Expected Behavior

as per steps 9 and 11 above

Issue Labels

inconsistent behavior

FreeTube Version

v0.23.12 Beta

Operating System Version

n/a ManjaroLinux "Manjaro Linux" 25.0.10 Zetar

Installation Method

.AppImage

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

none known

Additional Information

No response

Nightly Build

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    To assign

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions