Skip to content

[Bug]: Last video replays when YouTube blocks your IP, showing wrong info and video #8594

@SkyeMors

Description

@SkyeMors

Guidelines

Describe the bug

1: Create a playlist/queue that has many videos
2: Watch "too many"/"too much" videos within whatever arbitrary limits YouTube has set on non-accounts
3: When Video A (the last video provided before YouTube blocks you) ends and it moves on in the playlist, it will change pages to Video B and not load Video B- instead replaying Video A with Video B's title and description (without any video-specific features, like Sponsorblock), and showing Video B's video length as Video A's even later (since it couldn't load Video B to insert the correct information)

Expected Behavior

Watching Video A, Video A ends, page for Video B loads, then NOTHING. No loading, no playing.

If I get "error: youtube blocking your IP, swap to a different VPN", and video isn't provided... then the player shouldn't just play whatever is in the cache and assume that it's the right video, it should do a check against the video that's being requested or just not do anything.

Issue Labels

inconsistent behavior

FreeTube Version

v0.23.13 Beta

Operating System Version

Windows 10 Pro 22H2

Installation Method

.zip / .7z

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

(always been an issue)

Additional Information

This only happens when the last loaded video is "recent" (presumably still loaded in RAM where FreeTube stores videos it's playing), and can't happen when the previous video has been cleared via time or application quit.
This issue is especially annoying because it causes Sponsorblock to not function on the already-played video when it replays, and more so if it's on in the background where the sudden sponsor jumpscare is what alerts me that 1: something is wrong, 2: YouTube is giving me the middle finger for not using an account to use their free service, and 3: I can't rely on this video player to play a series of videos while multitasking, without it inevitably breaking.

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