FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
13.63k stars 862 forks source link

[Bug]: In the subscription and playlists pages, unwatched videos does not show it's duration #6058

Closed BrunoSBorges closed 3 weeks ago

BrunoSBorges commented 3 weeks ago

Guidelines

Describe the bug

Same as title. Unwatched videos do not show it's duration, but watched videos does.

Search page and history page show the duration for both watched and unwatched videos correctly.

Example from the "watch later" playlist. image

obs: Using the feature to "Mark as Watched" does nothing. It needs to have played the video for at least 1s to register it...

Expected Behavior

Duration is always visible regardless of the watched status.

Example from the search page: image

Issue Labels

visual bug

FreeTube Version

v0.22.0 Beta

Operating System Version

Windows 10 version 22H2

Installation Method

.exe

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

No response

Additional Information

No response

Nightly Build

absidue commented 3 weeks ago

When you have lots of subscriptions FreeTube fetches the subscriptions from YouTube's RSS feeds, to avoid getting ratelimited. The RSS feeds don't have the video durations which is why you don't see them.

For videos that you have already watched FreeTube is able to show the duration that was saved into the watch history when you watched the video. As for the missing durations in playlists it sounds like you probably saved a video from the subscriptions page that didn't have a duration to the playlist, which is why it is missing there too.