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 VideoPlayer.offset() infolabels #17576

Merged
merged 1 commit into from
Apr 3, 2020
Merged

Conversation

ronie
Copy link
Member

@ronie ronie commented Mar 29, 2020

this adds VideoPlayer.offset() and VideoPlayer.position() support for VideoPlayer infolabels.
it allows skins to display info for (amongst others) the next item during playback.

offset() is relative to the currently playing video in a playlist
position() is the absolute position in a playlist

@sualfred @gade01 @jjd-uk

@ronie ronie added Type: Feature non-breaking change which adds functionality Component: GUI engine API change: GUI v19 Matrix labels Mar 29, 2020
@ronie ronie added this to the Matrix 19.0-alpha 1 milestone Mar 29, 2020
@jjd-uk
Copy link
Member

jjd-uk commented Mar 29, 2020

Looks to be working as expected

image

Thanks ronie

xbmc/GUIInfoManager.cpp Outdated Show resolved Hide resolved
xbmc/GUIInfoManager.cpp Outdated Show resolved Hide resolved
xbmc/GUIInfoManager.h Outdated Show resolved Hide resolved
xbmc/guilib/guiinfo/VideoGUIInfo.cpp Outdated Show resolved Hide resolved
xbmc/guilib/guiinfo/VideoGUIInfo.h Outdated Show resolved Hide resolved
@gade01
Copy link
Contributor

gade01 commented Mar 29, 2020

Tested all kinds of scenarios. And everything worked as expected.
Thanks!

@ronie
Copy link
Member Author

ronie commented Mar 29, 2020

thanx @ksooo, updated as suggested.

@ronie ronie merged commit c440552 into xbmc:master Apr 3, 2020
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Apr 6, 2020
Maven85 pushed a commit to Maven85/kodi that referenced this pull request May 5, 2020
@ronie ronie deleted the videoplayer-offset branch July 29, 2020 00:09
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 3, 2020
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 4, 2020
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 4, 2020
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 5, 2020
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 6, 2020
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 6, 2020
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 6, 2020
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants