Skip to content

Conversation

@FineFindus
Copy link
Contributor

@FineFindus FineFindus commented Jan 5, 2026

Course playlists videos do not contain the uploader. This leads to an exception being thrown when trying to extract the uploader values. We can fallback to the playlist uploader values, as every video is uploaded by the playlist uploader.

Closes: #1425

  • I carefully read the contribution guidelines and agree to them.
  • I have tested the API against NewPipe.
  • I agree to create a pull request for NewPipe as soon as possible to make it compatible with the changed API.

@TobiGr TobiGr added the youtube service, https://www.youtube.com/ label Jan 5, 2026
@FineFindus FineFindus force-pushed the fix/course-playlists branch from 2f29c64 to b58045e Compare January 5, 2026 20:51
Course playlists videos do not contain the uploader. This leads to an exception
being thrown when trying to extract the uploader values. We can fallback to the
playlist uploader values, as every video is uploaded by the playlist uploader.

Closes: TeamNewPipe#1425
@FineFindus FineFindus force-pushed the fix/course-playlists branch from b58045e to 36d7bc0 Compare January 5, 2026 21:11
@TobiGr
Copy link
Contributor

TobiGr commented Jan 5, 2026

I think the fallback is only correct for course playlists, isn't it? Is the PLAYLIST_VIDEO_RENDERER used for other plylists types as well?
If this is the case, we should check if a fallback uploader is correct for them, too. If PLAYLIST_VIDEO_RENDERER is only used for course playlists, we should document it somewhere.

@FineFindus
Copy link
Contributor Author

I think the fallback is only correct for course playlists, isn't it? Is the PLAYLIST_VIDEO_RENDERER used for other playlists types as well?

Depends on what videos the playlist contains, but yes, they do use, PLAYLIST_VIDEO_RENDERER as well.

If this is the case, we should check if a fallback uploader is correct for them, too

It likely isn't (unless some create created it for their own videos), however I don't think there are currently any cases, where there is a playlist that doesn't provide the uploader for the individual items, so the fallback wouldn't be triggered. Happy to use the fallback only for courses either way though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

youtube service, https://www.youtube.com/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error on opeing youtube course playlist

2 participants