-
Notifications
You must be signed in to change notification settings - Fork 898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update subscription cache when subscribing from the channel page #5717
Update subscription cache when subscribing from the channel page #5717
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for sub, live, community post
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All tabs ok but shorts/live tab is showing that i have turned off automatic fetching
Edit: live only not showing up when channel you are subscribing to has a podcast tab and no live tab
2nd edit: this is happening for all tabs under the following condition. If channel you are subscribing to only has one tab e.g. only shorts tab. You will see the message in the subscription page on the videos/live/community tab
3rd edit: if channel has shorts the message still shows up but i think that has todo with YT breaking us so that will probably be fixed in #5679. Lol cant read ty @PikachuEXE
|
ab39a45
* 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
Update subscription cache when subscribing from the channel page
Pull Request Type
Related issue
#5185 (review)
Inspired by: #4667
Description
When you visit a channel that you are already subscribed to, we update the subscription cache with the data we fetched to display on that channel. This pull request expands that to cover subscribing to a channel on the channel page too, as we already have the data we might as well add it to the cache. While this doesn't specifically help with the scenario in the video in this comment #5185 (review) (subscribing from the search results), it does solve it for the channel page.
As YouTube doesn't provide any published dates on the shorts tab, we unfortunately cannot cache the data from that tab, however we can still cache the videos, live and community tabs.
Testing
Desktop