Skip to content

Conversation

@PikachuEXE
Copy link
Collaborator

@PikachuEXE PikachuEXE commented Jun 13, 2023

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

#2852 related but this PR only changes Local API

Description

This PR makes FT to also request live tab (unless hide live stream enabled) for each channel
This means the number of requests doubles
So this should be considered during review

Screenshots

With Linus Tech Tips in a profile only
https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw
image

Testing

A. With live stream (hide live stream off = show)

  • Disable hide live stream
  • Create a profile (optional but easier to spot issues)
  • Subscribe a channel with live streams (e.g. https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw)
  • Refresh subscriptions, confirm both normal videos & live streams in view
  • Check network tab to ensure there are only 2 new requests (to browse)

B. With live stream (hide live stream on = hide)

  • Enable hide live stream
  • Create a profile (optional but easier to spot issues)
  • Subscribe a channel with live streams (e.g. https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw)
  • Refresh subscriptions, confirm only normal videos in view
  • Check network tab to ensure there is only 1 new request (to browse)

C. Without live stream (hide live stream off = show)

  • Disable hide live stream
  • Create a profile (optional but easier to spot issues)
  • Subscribe a channel without live streams (e.g. https://www.youtube.com/channel/UCz7eke4JGlbtc11_6mmA7ew)
  • Refresh subscriptions, confirm normal videos in view
  • Check network tab to ensure there is only 1 new request (to browse)

Desktop

  • OS:
  • OS Version:
  • FreeTube version:

Additional context

Scheduled Live Streams not tested

@PikachuEXE PikachuEXE requested a review from absidue June 13, 2023 03:15
@PikachuEXE PikachuEXE marked this pull request as ready for review June 13, 2023 03:31
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) June 13, 2023 03:31
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Jun 13, 2023
@PikachuEXE PikachuEXE changed the title [Local API]Update subscription view to show live videos [Local API] Update subscription view to show live videos Jun 13, 2023
@efb4f5ff-1298-471a-8973-3d47447115dc
Copy link
Member

efb4f5ff-1298-471a-8973-3d47447115dc commented Jun 13, 2023

Scheduled Live Streams do not show up. Tested this with upcoming live streams from www.youtube.com/@live

Past live streams show up
Currently Live streams show up

@efb4f5ff-1298-471a-8973-3d47447115dc
Copy link
Member

efb4f5ff-1298-471a-8973-3d47447115dc commented Jun 15, 2023

Update Scheduled Live Streams do seem to show up tested with www.youtube.com/@ziggosport

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PikachuEXE
Copy link
Collaborator Author

But if #3668 is accepted I rather have tabs...

@github-actions github-actions bot added PR: merge conflicts / rebase needed and removed PR: waiting for review For PRs that are complete, tested, and ready for review labels Jul 2, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 2, 2023

This pull request has conflicts, please resolve those before we can evaluate the pull request.

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

So this can be closed?

@PikachuEXE
Copy link
Collaborator Author

This will be replaced by another PR (not submitted yet) with tabs

@PikachuEXE PikachuEXE closed this Jul 2, 2023
auto-merge was automatically disabled July 2, 2023 14:51

Pull request was closed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants