Skip to content

Commit

Permalink
Fix for Issue openhab#34
Browse files Browse the repository at this point in the history
Signed-off-by: Karel Goderis <[email protected]> (github: kgoderis)
  • Loading branch information
kgoderis committed Nov 13, 2014
1 parent 8752b77 commit dd4d587
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -573,18 +573,15 @@ public boolean isCoordinator() {
protected void updateCurrentURIFormatted() {

String currentURI = null;
SonosMetaData currentURIMetaData = null;
SonosMetaData currentTrack = null;
String coordinator = getCoordinator();
ZonePlayerHandler coordinatorHandler = getHandlerByName(coordinator);

if (!isGroupCoordinator() && coordinatorHandler != null) {
currentURI = coordinatorHandler.getCurrentURI();
currentURIMetaData = coordinatorHandler.getCurrentURIMetadata();
currentTrack = coordinatorHandler.getTrackMetadata();
} else {
currentURI = getCurrentURI();
currentURIMetaData = getCurrentURIMetadata();
currentTrack = getTrackMetadata();
}

Expand Down

0 comments on commit dd4d587

Please sign in to comment.