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

[PVR] EPG grid container: Make CGUIEPGGridContainer::GoToEnd consistent with CGUIEPGGridContainer::GoToBegin behavior #17114

Merged
merged 1 commit into from Jan 2, 2020

Conversation

ksooo
Copy link
Member

@ksooo ksooo commented Jan 1, 2020

GoToBegin always jumps to the first page of the EPG grid, regardless of the selected channel.

This PR makes GoToEnd behave consistent with GoToBegin. Now, the former will always jump to the last grid page, regardless of the selected channel.

Old GoToEnd behavior was to jump to the beginning of the last EPG tag of the selected channel. Often you ended up at the start of final "gap" (which is no actual event) that fills the grid from end of last real event to grid end. For channels without EPG this means, that selecting "goto end" will do the same as "goto begin" which is pretty irritating, IMO.

Runtime-tested on mackOS and ANdroid, latest Kodi master.

@phunkyfish for code review?

…nt with CGUIEPGGridContainer::GoToBegin behavior.
@ksooo ksooo added Type: Cleanup non-breaking change which removes non-working or unmaintained functionality Type: Improvement non-breaking change which improves existing functionality Component: PVR v19 Matrix labels Jan 1, 2020
@ksooo ksooo added this to the Matrix 19.0-alpha 1 milestone Jan 1, 2020
@ksooo ksooo requested a review from phunkyfish January 1, 2020 22:16
Copy link
Contributor

@phunkyfish phunkyfish left a comment

Choose a reason for hiding this comment

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

Nice, also looks good.

@ksooo
Copy link
Member Author

ksooo commented Jan 2, 2020

Jenkins WIN-UWP-64 error is unrelated.

@ksooo ksooo merged commit 5ecb0cb into xbmc:master Jan 2, 2020
@ksooo ksooo deleted the pvr-guide-goto-end branch January 2, 2020 08:12
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Jan 21, 2020
[PVR] EPG grid container: Make CGUIEPGGridContainer::GoToEnd consistent with CGUIEPGGridContainer::GoToBegin behavior
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: PVR Type: Cleanup non-breaking change which removes non-working or unmaintained functionality Type: Improvement non-breaking change which improves existing functionality v19 Matrix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants