Skip to content
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

[Bug]: Duration is not displayed in Subscriptions page #5322

Open
5 of 6 tasks
lamborghinipth opened this issue Jun 24, 2024 · 5 comments
Open
5 of 6 tasks

[Bug]: Duration is not displayed in Subscriptions page #5322

lamborghinipth opened this issue Jun 24, 2024 · 5 comments

Comments

@lamborghinipth
Copy link

Guidelines

  • I have encountered this bug in the latest release of FreeTube.
  • I have encountered this bug in the official downloads of FreeTube.
  • I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
  • I have searched the documentation for information that matches the description of the bug I want to file, without success.
  • This issue contains only one bug.

Describe the bug

Reproduce:

  1. Create new profile (e.g named P)
  2. Subscribe some channels to profile P
  3. Click the Freetube logo on top bar
  4. See the bug
    100

Expected Behavior

Duration is displayed in bottom right of each video's thumbnail
100

Issue Labels

content not loading, text/string issue, visual bug

FreeTube Version

v0.21.0

Operating System Version

Win 11 Pro

Installation Method

Portable

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

v0.21.0

Additional Information

None

Nightly Build

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

efb4f5ff-1298-471a-8973-3d47447115dc commented Jun 24, 2024

Hi @lamborghinipth how many channels are you subscribed to?

You can see this number on the Channels page

@feather42
Copy link

I have this same problem, I'm subscribed to 800+ channels, the duration on subscription page is vital I often watch videos based on the duration fitting the time I have and swatch the longer ones later.
Please please fix this.

@absidue
Copy link
Member

absidue commented Jun 26, 2024

@feather42 FreeTube automatically forces RSS when the currently selected profile has 125 or more subscriptions to avoid getting ratelimited. Unfortunately YouTube's RSS feeds don't include the video duration or live status. If FreeTube didn't force RSS, only about 130-160 channels would get fetched before you would hit YouTube's ratelimit and you would just get errors for the remaining 640-670 channels.

If you don't want to use RSS, split your subscriptions up into different smaller profiles or drastically reduce you subscriptions.

@lamborghinipth
Copy link
Author

lamborghinipth commented Jun 27, 2024

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

Hi @lamborghinipth how many channels are you subscribed to?

You can see this number on the Channels page

Total more than 200 channels in more than 10 profiles. Means I have about 20 channels in each profiles.

@absidue

@feather42 FreeTube automatically forces RSS when the currently selected profile has 125 or more subscriptions to avoid getting ratelimited. Unfortunately YouTube's RSS feeds don't include the video duration or live status. If FreeTube didn't force RSS, only about 130-160 channels would get fetched before you would hit YouTube's ratelimit and you would just get errors for the remaining 640-670 channels.

If you don't want to use RSS, split your subscriptions up into different smaller profiles or drastically reduce you subscriptions.

I think I did as your suggestion. I split into profiles as I said above.

For example, I have profiles Sports that contain 16 channels. When I click on FreeTube logo while switching to profile Sports, the issue is still here right now.

I also check a single latest subscribed channel - the 211st channel I subscribed. It works properly.
So duration only doesn't appear in Subscriptions page.

I think it is a bug.

@absidue
Copy link
Member

absidue commented Jun 29, 2024

@lamborghinipth

For example, I have profiles Sports that contain 16 channels. When I click on FreeTube logo while switching to profile Sports, the issue is still here right now.

If you refreshed your subscriptions with the all channels profile, which had too many subscriptions so got forced to use RSS and then switch to another profile without refreshing your subscriptions you will see the information that FreeTube fetched when you refreshed the all channels profile.

If you switch to your sports profile and then refresh your subscriptions you should see the video durations.

I also check a single latest subscribed channel - the 211st channel I subscribed. It works properly.
So duration only doesn't appear in Subscriptions page.

That is entirely expected, when you visit a single channel directly FreeTube only has to fetch information for that specific channel from YouTube. The risk of getting ratelimited only exists on the subscriptions page, because FreeTube has to fetch information for every subscription in the profile at the same time, which is why it uses RSS if you have too many.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Bug Reports
To assign
Development

No branches or pull requests

4 participants