-
-
Notifications
You must be signed in to change notification settings - Fork 650
Use user defined seek times, relative to current position, with optional confirmation #4803
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
Open
itayavra
wants to merge
44
commits into
jellyfin:master
Choose a base branch
from
itayavra:use-user-defined-seek-times
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 41 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
3cfcd9f
Add seek functionality for playback controls in CustomPlaybackOverlay…
itayavra 74f5a85
Add seek confirmation feature for D-pad navigation in playback controls
itayavra 5eb1af3
Remove seek confirmation feature from playback controls
itayavra 9a2ab3a
Add accelerated seeking functionality to playback controls
itayavra bbd725f
Refactor seeking functionality in CustomPlaybackOverlayFragment
itayavra 69513d9
Refactor playback control methods in CustomPlaybackOverlayFragment
itayavra 06332c5
Refactor getSafeSeekPosition method in Utils.kt
itayavra cdd8355
Add settings to enable the enhanced D-pad seeking logic
itayavra 84077ae
fix: Revert unrelated changes and preserve original D-pad behavior
itayavra 94f4ab5
refactor: Rename to natural D-pad seeking and extract preference vari…
itayavra 1838f9a
refactor: Update comments for seeking behavior in CustomPlaybackOverl…
itayavra 4ec8dcf
fix: fixed compile
itayavra 7db8934
refactor: code cleanups and better UX by lowering the seek debounce time
itayavra ff0d1fe
refactor: code review fixes
itayavra 241431a
refactor: update playback control to use ProgressBar and fix lint errors
itayavra 64d05a1
fix: fixed runtime error when playing video
itayavra e6d4f58
feat: implement preview seeking functionality in playback controls
itayavra 353a90f
refactor: merged the natural d-pad seeking preference as the only one…
itayavra d576e90
fix: update seeking methods to use PlayerAdapter again for improved UX
itayavra 0f7214a
feat: add skip back length preference to playback settings
itayavra 690c7fa
chore: removed empty lines and added nullability annotation in Leanba…
itayavra 078e8a8
fix: bugfix and preview-seek key handling improvements
itayavra db88fd7
refactor: clean up comments
itayavra c15d53b
refactor: clean up preview seeking code
itayavra 3d30729
refactor: clean up preview seeking code
itayavra 79e5028
refactor: clean up preview seeking code
itayavra 032191f
feat: added a simple thumbnail preview for trickplay when preview see…
itayavra bd72a74
refactor: moved thumbnails implementation into CustomPlaybackTranspor…
itayavra eb49c2f
refactor: extracted code to the glue and to a new handler for thumbna…
itayavra 59b7252
refactor: fixed seeking on seekbar focus, simplified the glue code a bit
itayavra 261ddb3
refactor: update thumbnail position and dimensions, enabled thumbnail…
itayavra 19fab58
refactor: adjust thumbnail dimensions and background to hide black ba…
itayavra bccb3cc
refactor: code cleanup
itayavra b990ad9
refactor: code cleanup
itayavra c24be06
refactor: code cleanup
itayavra 42f7ce2
refactor: code cleanup
itayavra e836bf7
refactor: code cleanup
itayavra e6cf6fc
refactor: update preview seeking confirmation text for clarity
itayavra 7170ad9
refactor: rename preview seeking to seek confirmation for better term…
itayavra 5217bc0
refactor: make sure the thumbnail preview is removed if exists when p…
itayavra c574a0b
refactor: shorter seek confirmation text
itayavra 32f2f92
refactor: remove extra newline
itayavra 6280e37
cr fixes - converted ThumbnailPreviewHandler to kt
itayavra a9b475e
refactor:
itayavra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should choose one behavior for the seek control and stick with that. No preferences to complicate it necessary.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To me, the intuitive behavior would be to pause the video when seeking, especially when thumbnail previews can be utilized, this is what I'm used to from netflix, youtube (well, smart tube), etc.
However, I saw that there were some issues open specifically about that by users that prefer the other behavior (#2399, #3154, ...).
I can leave only one option, but I would consider giving the option to choose, since it seems like it would allow more users to feel at home/enjoy the behavior they're used to (especially given supporting both behaviors in the code was pretty easy) 🙏 .
Anyway, let me know what you decide.