Skip to content

[Bug]: Playlists fail to load fully or entirely #9263

Description

@FrostedGeulleisia

Guidelines

Describe the bug

Opening a playlist, especially one with more than 100 videos in it, will either:

  1. Fail to load the playlist entirely with an error in the console (if the playlist is accessed directly).
  2. The playlist will only load the first 100 videos with no errors in the console.
  3. The playlist will only load the first 200 videos, also without any errors in the console.
  4. Only via video pages - the playlist shows 0/0 videos, with no errors in console.

This happens irrespective of how said playlist is accessed (directly, or through a video page), and occurs on both the latest Beta release (the one with the Subscription/Channel page fixes), and latest nightly.

Expected Behavior

The playlist would list all videos contained within it, loaded 100 at a time, when scrolling, or listed all at once if accessed through a video page.

Issue Labels

feature stopped working, inconsistent behavior

FreeTube Version

v0.24.1-nightly-7402

Operating System Version

Windows 10 22H2

Installation Method

.exe

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

No response

Upload screenshots or videos

No response

Additional Information

Note: I cannot seem to be able to upload screenshots, the upload fails no matter what.

The error shown when scenario 1 occurs:

renderer.js:2 TypeError: Cannot read properties of undefined (reading 'videoId')
    at me (renderer.js:2:2166895)
me @ renderer.js:2
await in me
pe @ renderer.js:2
(anonymous) @ renderer.js:2
setTimeout
(anonymous) @ renderer.js:2
(anonymous) @ renderer.js:2
(anonymous) @ renderer.js:2
ci @ renderer.js:2
ui @ renderer.js:2
t.__weh.t.__weh @ renderer.js:2
Si @ renderer.js:2
Ii @ renderer.js:2
Promise.then
_i @ renderer.js:2
wi @ renderer.js:2
O.r.scheduler @ renderer.js:2
trigger @ renderer.js:2
be @ renderer.js:2
notify @ renderer.js:2
trigger @ renderer.js:2
set value @ renderer.js:2
(anonymous) @ renderer.js:2
Promise.then
(anonymous) @ renderer.js:2
await in (anonymous)
(anonymous) @ renderer.js:2
ci @ renderer.js:2
ui @ renderer.js:2
t.__weh.t.__weh @ renderer.js:2
Si @ renderer.js:2
J @ renderer.js:2
mount @ renderer.js:2
t.mount @ renderer.js:2
(anonymous) @ renderer.js:2
Promise.then
(anonymous) @ renderer.js:2
(anonymous) @ renderer.js:2
(anonymous) @ renderer.js:2

For scenario 4: when the video finishes playing, the following error appears:

renderer.js:2 TypeError: Cannot read properties of undefined (reading 'videoId')
    at Proxy.J (renderer.js:2:2384295)
    at Proxy.handleVideoEnded (renderer.js:2:2421939)
    at ci (renderer.js:2:901961)
    at ui (renderer.js:2:902031)
    at fs (renderer.js:2:933664)
    at Proxy.handleEnded (renderer.js:2:2343194)
    at Io.onEnded.t.<computed>.t.<computed> (renderer.js:2:2345401)
    at ci (renderer.js:2:901961)
    at ui (renderer.js:2:902031)
    at HTMLVideoElement.i (renderer.js:2:973742)
(anonymous) @ renderer.js:2
di @ renderer.js:2
ci @ renderer.js:2
ui @ renderer.js:2
fs @ renderer.js:2
handleEnded @ renderer.js:2
Io.onEnded.t.<computed>.t.<computed> @ renderer.js:2
ci @ renderer.js:2
ui @ renderer.js:2
i @ renderer.js:2

Nightly Build

  • I have encountered this bug in the latest official nightly build, do not check this box if you are using an unofficial or custom build.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    To assign

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions