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

[skins] Remove player.displayafterseek in skins in favor of Player.Ha… #21380

Merged
merged 1 commit into from
May 15, 2022

Conversation

enen92
Copy link
Member

@enen92 enen92 commented May 9, 2022

…sPerformedSeek(3)

Description

Follow up after #21366 has been merged. This removes all references to Player.DisplayAfterSeek from estuary and estouchy in favor of Player.HasPerformedSeek(3). Display after seek by default is valid for 2.5 seconds which is pretty much the same as a seek event in the last 3 seconds.

Runtime tested to confirm the offsets are correctly shown in the interface. E.g. after seeking a chapter:

Screenshot from 2022-05-09 16-06-02

Luckily this didn't even needed skin timers :)
Next step is the removal of player.displayafterseek from the core, but only for Alpha 2.

@enen92 enen92 added Type: Improvement non-breaking change which improves existing functionality Component: Skin v20 Nexus labels May 9, 2022
@enen92 enen92 added this to the Nexus 20.0 Alpha 1 milestone May 9, 2022
@enen92 enen92 requested a review from jjd-uk May 9, 2022 15:07
Copy link
Member

@jjd-uk jjd-uk left a comment

Choose a reason for hiding this comment

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

Tested and works as expected

@enen92 enen92 merged commit be78845 into xbmc:master May 15, 2022
jojobrogess added a commit to jojobrogess/skin.auramod that referenced this pull request Feb 14, 2023
 https://forum.kodi.tv/showthread.php?tid=363553&pid=3098753#pid3098753
2022-05-22 - Removed Player.DisplayAfterSeek boolean condition

The old Player.DisplayAfterSeek boolean condition was a design flaw of Kodi since it was coupling the videoplayer with GUI components. It was removed and replaced by the previously added Player.HasPerformedSeek(interval) boolean condition.
By default Player.DisplayAfterSeek was valid for 2.5 seconds after a seek. To retain similar behaviour please use Player.HasPerformedSeek(3). Estuary and estouchy were adapted in xbmc/xbmc#21380

PR: xbmc/xbmc#21425
detobel36 pushed a commit to detobel36/skin.auramod that referenced this pull request Aug 8, 2024
 https://forum.kodi.tv/showthread.php?tid=363553&pid=3098753#pid3098753
2022-05-22 - Removed Player.DisplayAfterSeek boolean condition

The old Player.DisplayAfterSeek boolean condition was a design flaw of Kodi since it was coupling the videoplayer with GUI components. It was removed and replaced by the previously added Player.HasPerformedSeek(interval) boolean condition.
By default Player.DisplayAfterSeek was valid for 2.5 seconds after a seek. To retain similar behaviour please use Player.HasPerformedSeek(3). Estuary and estouchy were adapted in xbmc/xbmc#21380

PR: xbmc/xbmc#21425
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Skin Type: Improvement non-breaking change which improves existing functionality v20 Nexus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants