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][guilib][Estuary] Guide window improvement #25142

Merged
merged 2 commits into from May 13, 2024

Conversation

ksooo
Copy link
Member

@ksooo ksooo commented May 6, 2024

Motivation: Currently, the Guide window can either display the channel logo or a thumbnail of the programme. If both graphics are available, thumbnail will be preferred. In the fullscreen live TV OSD however, we can show both graphics already:

screenshot00004

This PR aligns the guide window content with the OSD contain by adding support for channel logo and programme thumbnail, similar to the OSD.

Before:
screenshot00003

After:
screenshot00005

In case only channel logo is available, guide window will look like before, channel logo on the left, text area spans to right border of screen.

For this, new GUI info labels were needed:

ListItem.ChannelLogo, VideoPlayer.ChannelLogo, MusicPlayer.ChannelLogo, completing the other channel related labels, (like ListItem.ChannelName and ListItem.ChannelNumberLabel). These labels contain the path of the channel logo of the selected or playing pvr channel.

Runtime-tested on macOS and Android, latest xbmc master.

@jjd-uk could you please have a look at the skin changes?
@phunkyfish please review the code changes.

@ksooo ksooo added Type: Improvement non-breaking change which improves existing functionality Component: PVR Component: GUI engine Component: Skin v22 "P" labels May 6, 2024
@ksooo ksooo added this to the "P" 22.0 Alpha 1 milestone May 6, 2024
@ksooo ksooo requested review from phunkyfish and jjd-uk May 6, 2024 07:00
@ksooo ksooo force-pushed the estuary-pvr-guide-improvement branch from 9e523c0 to 982dc2d Compare May 6, 2024 10:11
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.

Looks good from the C++ side.

@jjd-uk
Copy link
Member

jjd-uk commented May 8, 2024

Just a quick note to acknownlege the review request has been seen. I'll try and get to it beofre the weekend.

@jjd-uk
Copy link
Member

jjd-uk commented May 10, 2024

Looking at the code I don't see any issues, however I've not had time to runtime test which I'd like to do for this PR before Approving. I'm away this weekend but I should have time on Monday if you're not in hurry @ksooo

@jenkins4kodi jenkins4kodi added the Rebase needed PR that does not apply/merge cleanly to current base branch label May 10, 2024
@ksooo ksooo force-pushed the estuary-pvr-guide-improvement branch from 982dc2d to a51ef75 Compare May 10, 2024 18:45
@jenkins4kodi jenkins4kodi removed the Rebase needed PR that does not apply/merge cleanly to current base branch label May 10, 2024
@ksooo ksooo force-pushed the estuary-pvr-guide-improvement branch from a51ef75 to 4bd3e88 Compare May 10, 2024 20:45
@ksooo
Copy link
Member Author

ksooo commented May 11, 2024

jenkins build this please

@ksooo
Copy link
Member Author

ksooo commented May 11, 2024

I'm away this weekend but I should have time on Monday if you're not in hurry @ksooo

@jjd-uk I'm not in a hurry. :-)

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.

LGTM

@ksooo ksooo merged commit 265f0a1 into xbmc:master May 13, 2024
2 checks passed
@ksooo ksooo deleted the estuary-pvr-guide-improvement branch May 13, 2024 16:59
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