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

Add playlist duration to playlist view #7007

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

MarmadileManteater
Copy link
Contributor

@MarmadileManteater MarmadileManteater commented Mar 14, 2025

Add playlist duration to playlist view

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

This is based on this PR: #6657
closes #6152

Description

This PR adds the total playlist duration to the playlist-info component which is displayed within the Playlist view.

Screenshots

before after
2025-03-14-090636_hyprshot 2025-03-14-090720_hyprshot

Testing

  1. Check a creator playlist (ex: https://youtube.com/playlist?list=PL2EEDBEDC9C2BDF07 )
  2. Check a user playlist
  3. Check a playlist where none of the videos have a duration
    (This can be accomplished by adding only videos from RSS feed subscriptions to a user playlist.)
  4. Check a playlist where at least one of the videos do not have a duration
  5. Check that the localization of the duration works as expected

Desktop

  • OS: Fedora Linux w/ hyprland
  • OS Version: 41 (Workstation Edition) x86_64
  • FreeTube version: b6ba16f

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) March 14, 2025 13:19
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: waiting for review For PRs that are complete, tested, and ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: Let the user know how much time it would take to watch an entire playlist
1 participant