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

[guiinfo] (VIDEOPLAYER|LISTITEM)_AUDIO_CHANNELS return empty string for 0 channels, not '0'. #8059

Merged
merged 2 commits into from
Sep 16, 2015

Conversation

ksooo
Copy link
Member

@ksooo ksooo commented Sep 15, 2015

In Confluence, when switching PVR channels and OSD is displayed at that time

  • first, all audio and video information badges for the old channel disappear
  • then, a badge [0.0] appears, which will tell us that 0.0 audio is currently playing ;-)
  • finally, the badges for the new channel appear

That [0.0] badge in between is ugly. ;-)

Reason is that GUIInfomanager returns "0" if no sound is avalaible and the skin maps that to 0.0 badge.

@xhaggi mind taking a look

@ksooo ksooo added Type: Improvement non-breaking change which improves existing functionality Component: PVR v16 Jarvis labels Sep 15, 2015
@Jalle19
Copy link
Member

Jalle19 commented Sep 15, 2015

Good idea, don't know why skins even have a 0.0 icon at all since obviously there's no such thing as 0-channel audio.

@Jalle19
Copy link
Member

Jalle19 commented Sep 15, 2015

@ronie can we drop that icon from Confluence now that it's never used anymore?

@xhaggi
Copy link
Member

xhaggi commented Sep 15, 2015

please ping someone else too, @mkortstiege

+1 because no audio don't need an icon.

@mkortstiege
Copy link
Member

No objections. Please add the confluence commit as a separate one.

@ksooo ksooo force-pushed the guiinfo-audio-channels-exclude-zero branch from d2b63a0 to 24201b4 Compare September 15, 2015 19:31
@ksooo ksooo force-pushed the guiinfo-audio-channels-exclude-zero branch from 24201b4 to ed7fcac Compare September 15, 2015 19:33
@ksooo
Copy link
Member Author

ksooo commented Sep 15, 2015

Icon removed in separate commit, as requested.

jenkins build this please

@ksooo
Copy link
Member Author

ksooo commented Sep 16, 2015

All(?) binary addons failed to build an Linux. This is not related to this PR.

@ksooo ksooo added this to the Jarvis 16.0-alpha3 milestone Sep 16, 2015
ksooo added a commit that referenced this pull request Sep 16, 2015
[guiinfo] (VIDEOPLAYER|LISTITEM)_AUDIO_CHANNELS return empty string for 0 channels, not '0'.
@ksooo ksooo merged commit a70fc8d into xbmc:master Sep 16, 2015
@ksooo ksooo deleted the guiinfo-audio-channels-exclude-zero branch September 16, 2015 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: PVR Type: Improvement non-breaking change which improves existing functionality v16 Jarvis
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants