Skip to content

Fix video start time handling#5719

Merged
FreeTubeBot merged 1 commit intoFreeTubeApp:developmentfrom
absidue:fix-video-start-time
Sep 21, 2024
Merged

Fix video start time handling#5719
FreeTubeBot merged 1 commit intoFreeTubeApp:developmentfrom
absidue:fix-video-start-time

Conversation

@absidue
Copy link
Member

@absidue absidue commented Sep 19, 2024

Fix video start time handling

Pull Request Type

  • Bugfix

Related issue

closes #5718

Description

This pull request fixes the video start time handling. Video URLs with timestamps should start at their timestamp, partially watched videos should start at the timestamp that you stopped at and finished videos should start from the beginning. Currently all 3 were behaving incorrectly.

Testing

  1. Open a video URL with a timestamp e.g. https://www.youtube.com/watch?v=jNQXAC9IVRw&t=5.
  2. Open a video and seek part way through, leave the watch page and then go back to the same video, it should start where you left off.
  3. Open a video and seek to the end, leave the watch page and come back, it should start from the beginning.

Desktop

  • OS: Windows
  • OS Version: 10
  • FreeTube version: ddb495a

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) September 19, 2024 21:23
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 19, 2024
Copy link
Member

@PikachuEXE PikachuEXE left a comment

Choose a reason for hiding this comment

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

Tested with both "save progress" on/off

@FreeTubeBot FreeTubeBot merged commit 9ca2c74 into FreeTubeApp:development Sep 21, 2024
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 21, 2024
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Sep 21, 2024
* 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
@absidue absidue deleted the fix-video-start-time branch September 21, 2024 07:03
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.

[Bug]: Nightly 4776 Looping playlist only loops to end of every video.

5 participants