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

[gui] return "" instead of "0" for playlist.position in case nothing is playing #11041

Merged
merged 1 commit into from
Dec 10, 2016

Conversation

phil65
Copy link
Contributor

@phil65 phil65 commented Dec 3, 2016

see title.

@xhaggi
Copy link
Member

xhaggi commented Dec 3, 2016

Looks good, something for Krypton?

@phil65
Copy link
Contributor Author

phil65 commented Dec 9, 2016

jenkins build this please.
Should I backport? @ronie @BigNoid

@ronie
Copy link
Member

ronie commented Dec 9, 2016

seems harmless

@BigNoid
Copy link
Member

BigNoid commented Dec 9, 2016

I don't think any skins rely on that value being 0, so backporting wouldn't hurt.

@phil65 phil65 added Backport: Needed Type: Fix non-breaking change which fixes an issue Component: GUI engine labels Dec 10, 2016
@phil65 phil65 merged commit c23f7d8 into xbmc:master Dec 10, 2016
@hudokkow hudokkow added this to the L 18.0-alpha1 milestone Dec 10, 2016
@phil65 phil65 deleted the playlist_position branch December 11, 2016 03:07
return StringUtils::Format("%i", g_playlistPlayer.GetCurrentSong() + 1);
int currentSong = g_playlistPlayer.GetCurrentSong();
if (currentSong > -1)
return StringUtils::Format("%i", currentSong + 1);

This comment was marked as spam.

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport: Done Component: GUI engine Type: Fix non-breaking change which fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants