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 button to pause playlist after current video #3938

Conversation

Benjababe
Copy link
Contributor

@Benjababe Benjababe commented Aug 24, 2023

Add button to pause playlist after current video

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

Closes #2938

Description

Adds a pause button to playlist controls.
If enabled, when the current video finishes playing it will not autoplay the next video.
Will disable itself if its stopping condition is reached or when a new video is loaded

Screenshots

image

Testing

Tried on a couple of playlists and seemed fine.
Shouldn't cause crazy issues if there are any, only logic touched is when video finishes playing

Desktop

  • OS: Windows 10
  • OS Version: 22H2
  • FreeTube version:

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) August 24, 2023 15:54
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Aug 24, 2023
@Benjababe Benjababe changed the title Playlist pause after current video Add button to pause playlist after current video Aug 24, 2023
@absidue
Copy link
Member

absidue commented Aug 24, 2023

You only need to add translations for en-US, people who know the other languages, volunteer to translate them on weblate for us. That way we get more accurate translations, than translation services like google translate would provide.

See the README for more information:
https://github.com/FreeTubeApp/FreeTube#localization

Choose a reason for hiding this comment

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

Hi @Benjababe there is nothing wrong with the changes in this file but we like to only add the en-US translations and leave the rest to the other translators. Could u revert the changes u made to this file.

See #3938 (comment)

@efb4f5ff-1298-471a-8973-3d47447115dc efb4f5ff-1298-471a-8973-3d47447115dc added PR: changes requested and removed PR: waiting for review For PRs that are complete, tested, and ready for review labels Aug 28, 2023
auto-merge was automatically disabled August 28, 2023 23:43

Head branch was pushed to by a user without write access

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) August 28, 2023 23:44
@ChunkyProgrammer ChunkyProgrammer added PR: waiting for review For PRs that are complete, tested, and ready for review and removed PR: changes requested labels Aug 28, 2023
@FreeTubeBot FreeTubeBot merged commit 1543734 into FreeTubeApp:development Sep 7, 2023
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 7, 2023
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Sep 7, 2023
* development:
  Add button to pause playlist after current video (FreeTubeApp#3938)
  Translated using Weblate (Greek)
  Translated using Weblate (Lithuanian)
  Translated using Weblate (Swedish)
  Translated using Weblate (Catalan)
  Make ft-channel-bubble an actual link when it is being used as one (FreeTubeApp#3980)
  Translated using Weblate (Catalan)
  Translated using Weblate (Catalan)
  Translated using Weblate (French)
  Bump lefthook from 1.4.9 to 1.4.10 (FreeTubeApp#4003)
  Bump the babel group with 3 updates (FreeTubeApp#4000)
  Bump actions/checkout from 3 to 4 (FreeTubeApp#3999)
  Group dependabot created updates for some packages in fewer PRs (FreeTubeApp#3968)
  Chore: Update vscode configurations (FreeTubeApp#3986)
  Bump youtubei.js from 6.1.0 to 6.3.0 (FreeTubeApp#3994)
  Bump postcss from 8.4.28 to 8.4.29 (FreeTubeApp#3995)
  Bump @babel/preset-env from 7.22.10 to 7.22.14 (FreeTubeApp#3996)
  Bump marked from 7.0.5 to 8.0.0 (FreeTubeApp#3993)
  Bump electron-builder from 24.6.3 to 24.6.4 (FreeTubeApp#3992)

# Conflicts:
#	src/renderer/views/Watch/Watch.js
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Sep 7, 2023
* feature/playlist-2023-05: (25 commits)
  ! Fix prompt style issue caused by old branch changes
  * Update single playlist view to only show `Remove watched videos` btn when there is any video
  Add button to pause playlist after current video (FreeTubeApp#3938)
  Translated using Weblate (Greek)
  Translated using Weblate (Lithuanian)
  Translated using Weblate (Swedish)
  Translated using Weblate (Catalan)
  Make ft-channel-bubble an actual link when it is being used as one (FreeTubeApp#3980)
  $ Remove unused and unusable playlist code for inserting video IDs into a playlist
  $ Remove unused mapActions entries
  * Make adding large no. of videos faster
  Translated using Weblate (Catalan)
  Translated using Weblate (Catalan)
  Translated using Weblate (French)
  Bump lefthook from 1.4.9 to 1.4.10 (FreeTubeApp#4003)
  Bump the babel group with 3 updates (FreeTubeApp#4000)
  Bump actions/checkout from 3 to 4 (FreeTubeApp#3999)
  Group dependabot created updates for some packages in fewer PRs (FreeTubeApp#3968)
  Chore: Update vscode configurations (FreeTubeApp#3986)
  Bump youtubei.js from 6.1.0 to 6.3.0 (FreeTubeApp#3994)
  ...
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.

[Feature Request]: Pause after current track
6 participants