RemoteDevice theDevice = thePlayer.getDevice();
// Only set up a polling job if the device supports the given SonosCommandType
// Not all Sonos devices have the same capabilities
if( theDevice!=null) {
if(theDevice.findService(new UDAServiceId(sonosCommandType.getService())) != null){
boolean jobExists = false;
// enumerate each job group
try {