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] always add new members to group at end in group manager #17348

Merged
merged 1 commit into from
Feb 10, 2020

Conversation

phunkyfish
Copy link
Contributor

Description

Always add new channels to groups at the end in group manager.

Motivation and Context

Then adding support for group specific channel numbering and numbering from 1 (#16593) logic was missed in the group manager GUI.

Fixes: #17324

How Has This Been Tested?

Screenshots (if appropriate):

Types of change

  • Bug fix (non-breaking change which fixes an issue)
  • Clean up (non-breaking change which removes non-working, unmaintained functionality)
  • Improvement (non-breaking change which improves existing functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that will cause existing functionality to change)
  • Cosmetic change (non-breaking change that doesn't touch code)
  • None of the above (please explain below)

Checklist:

  • My code follows the Code Guidelines of this project
  • My change requires a change to the documentation, either Doxygen or wiki
  • I have updated the documentation accordingly
  • I have read the Contributing document
  • I have added tests to cover my change
  • All new and existing tests passed

@phunkyfish phunkyfish added Type: Fix non-breaking change which fixes an issue Component: PVR WIP PR that is still being worked on v19 Matrix labels Feb 8, 2020
@phunkyfish
Copy link
Contributor Author

@ksooo are you ok with the logic being in this class or would you prefer the max channel number is returned from the groups class?

@ksooo
Copy link
Member

ksooo commented Feb 8, 2020

would you prefer the max channel number is returned from the groups class?

yes. :-)

@ksooo
Copy link
Member

ksooo commented Feb 8, 2020

Add a new method? => CPVRChannelGroup::AppendToGroup(…)

@ksooo
Copy link
Member

ksooo commented Feb 8, 2020

Looking at the documentation of CPVRChannelGroup::AddToGroup it seems, that this method's implementation needs to be fixed.

https://github.com/xbmc/xbmc/blob/master/xbmc/pvr/channels/PVRChannelGroup.h#L153

=> @param channelNumber The channel number of the channel to add. Use empty channel number to add it at the end.

@bam80
Copy link
Contributor

bam80 commented Feb 9, 2020

Thanks guys. Can we just merge it if it works for you, and I'll check when it builds itself tomorrow? Will it work?

@phunkyfish phunkyfish added this to the Matrix 19.0-alpha 1 milestone Feb 10, 2020
@phunkyfish phunkyfish removed the WIP PR that is still being worked on label Feb 10, 2020
@phunkyfish phunkyfish merged commit b1547ab into xbmc:master Feb 10, 2020
@phunkyfish phunkyfish deleted the pvr-group-manager branch February 10, 2020 10:24
@bam80
Copy link
Contributor

bam80 commented Feb 11, 2020

Still can't check it, the latest nightly is git20200117

@phunkyfish
Copy link
Contributor Author

phunkyfish commented Feb 11, 2020

Those nightlies are not created by team
Kodi so afraid I don’t know when the next one gets released.

Just wait I guess.

@bam80
Copy link
Contributor

bam80 commented Feb 12, 2020

Those nightlies are not created by team

Still see it's headed '“Kodi” team' on the Launchpad:
https://launchpad.net/~team-xbmc/+archive/ubuntu/xbmc-nightly?field.series_filter=eoan

Kodi Nightly Builds
PPA description
Official Team Kodi nightly builds.

Maven85 pushed a commit to Maven85/kodi that referenced this pull request Feb 17, 2020
[pvr] always add new members to group at end in group manager
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Feb 19, 2020
[pvr] always add new members to group at end in group manager
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Feb 26, 2020
[pvr] always add new members to group at end in group manager
Maven85 pushed a commit to Maven85/kodi that referenced this pull request May 5, 2020
[pvr] always add new members to group at end in group manager
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 4, 2020
[pvr] always add new members to group at end in group manager
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 5, 2020
[pvr] always add new members to group at end in group manager
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 6, 2020
[pvr] always add new members to group at end in group manager
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 7, 2020
[pvr] always add new members to group at end in group manager
Maven85 pushed a commit to Maven85/kodi that referenced this pull request Aug 7, 2020
[pvr] always add new members to group at end in group manager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: PVR Type: Fix non-breaking change which fixes an issue v19 Matrix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PVR: regression: Wrong channel numbers in groups
3 participants