Skip to content

Conversation

@absidue
Copy link
Member

@absidue absidue commented Sep 9, 2024

Local API: Handle new shorts node

Pull Request Type

  • Bugfix

Related issue

Description

YouTube is running an A/B test to replace ReelItems with ShortsLockupViews. This pull request adds support for that new node, which fixes the shorts tab on channels being empty and playlists containing only shorts throwing an error.

Testing

Channel with shorts: https://www.youtube.com/@gibiasmr
Playlist containing only shorts: https://www.youtube.com/playlist?list=UUSHE6acMV3m35znLcf0JGNn7Q

Desktop

  • OS: Windows
  • OS Version: 10
  • FreeTube version: 8130e7b

@efb4f5ff-1298-471a-8973-3d47447115dc

New version has been released!

@absidue absidue marked this pull request as ready for review September 20, 2024 20:48
@github-actions github-actions bot added PR: dependencies Pull requests that update a dependency file PR: waiting for review For PRs that are complete, tested, and ready for review labels Sep 20, 2024
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) September 20, 2024 20:49
@FreeTubeBot FreeTubeBot merged commit fa4886e into FreeTubeApp:development Sep 21, 2024
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 21, 2024
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Sep 21, 2024
* development:
  Fix video start time handling (FreeTubeApp#5719)
  Local API: Handle new shorts node (FreeTubeApp#5679)
  Update subscription cache when subscribing from the channel page (FreeTubeApp#5717)
  Translated using Weblate (English (United Kingdom))
  Implement persistent subscription cache (FreeTubeApp#5185)
  Translated using Weblate (Belarusian)
  Bump npm-run-all2 from 6.2.2 to 6.2.3 (FreeTubeApp#5708)
  Translated using Weblate (Swedish)
  Bump shaka-player from 4.11.1 to 4.11.3 (FreeTubeApp#5707)
  Translated using Weblate (Persian)
  v Downgrade electron-builder 25.x > 24.x (FreeTubeApp#5712)
  Translated using Weblate (Persian)
  Translated using Weblate (Persian)

# Conflicts:
#	src/renderer/views/Channel/Channel.js
#	src/renderer/views/Channel/Channel.vue
@absidue absidue deleted the shorts-lockup-view branch September 21, 2024 07:04
@absidue
Copy link
Member Author

absidue commented Sep 22, 2024

That comment was nothing to do with a new version of FreeTube, but about the fact that this pull request relied on changes on the YouTube.js side and that a YouTube.js update with those changes had been released.

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

Labels

PR: dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Youtube Shorts not showing

5 participants