Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

XBMC - Add functionality to show and adjust XBMC volume through an item of type... #1367

Merged
merged 1 commit into from
Aug 26, 2014

Conversation

avdleeuw
Copy link
Contributor

... Dimmer.

@buildhive
Copy link

openhab » openhab #1100 FAILURE
Looks like there's a problem with this pull request
(what's this?)

@avdleeuw
Copy link
Contributor Author

Apparently this only was a failure because it received an error sending out the email after finishing. At least, that's my conclusion :)

@buildhive
Copy link

openhab » openhab #1102 FAILURE
Looks like there's a problem with this pull request
(what's this?)

@buildhive
Copy link

openhab » openhab #1103 SUCCESS
This pull request looks good
(what's this?)

@@ -280,6 +296,8 @@ protected void internalReceiveCommand(String itemName, Command command) {
connector.showNotification("openHAB", command.toString());
if (property.equals("System.Shutdown") && command == OnOffType.OFF)
connector.systemShutdown();
if (property.equals("Application.Volume"))
connector.applicationSetVolume(command.toString());
Copy link
Member

Choose a reason for hiding this comment

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

please use "else if" since only one option can be valid at a time

@teichsta
Copy link
Member

Hi @avdleeuw , thanks for this contribution. Please find my Review comments inline. Best, Thomas E.-E.

@teichsta teichsta added this to the 1.6.0 milestone Aug 26, 2014
…ype Dimmer. Including corrections after review comments.
@avdleeuw
Copy link
Contributor Author

Hi @teichsta ,

I've corrected the code where applicable. Hope this will be fine now!

@buildhive
Copy link

openhab » openhab #1106 UNSTABLE
Looks like there's a problem with this pull request
(what's this?)

@avdleeuw
Copy link
Contributor Author

The UNSTABLE build from Buildhive is caused by a timestamp issue in the KNX binding which isn't touched by this PR.

teichsta added a commit that referenced this pull request Aug 26, 2014
XBMC - Add functionality to show and adjust XBMC volume through an item of type...
@teichsta teichsta merged commit 0b79d2c into openhab:master Aug 26, 2014
@teichsta
Copy link
Member

I've corrected the code where applicable. Hope this will be fine now!

Thanks, Ard

@avdleeuw avdleeuw deleted the XBMC_volume branch September 1, 2014 09:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants