From: Debayan Sutradhar Date: Fri, 02 Apr 2021 01:35:45 +0530 Subject: removed useless debug message --- removed useless debug message --- --- 'a/playaudioclipaction/src/main/java/com/stream_pi/playaudioclipaction/PlayAudioClipAction.java' +++ b/playaudioclipaction/src/main/java/com/stream_pi/playaudioclipaction/PlayAudioClipAction.java @@ -52,16 +52,14 @@ public class PlayAudioClipAction extends { Property audioFileLocationProperty = getClientProperties().getSingleProperty("audio_location"); - if (audioFileLocationProperty.getStringValue().isBlank()) { + if (audioFileLocationProperty.getStringValue().isBlank()) + { new StreamPiAlert("Media Action", "No file specified", StreamPiAlertType.ERROR).show(); return; } if(mediaPlayer == null) - { - System.out.println("NEW INIT@@@@"); mediaPlayer = new AudioClip(new File(audioFileLocationProperty.getStringValue()).toURI().toString()); - } if(mediaPlayer.isPlaying()) Platform.runLater(mediaPlayer::stop);