/** Pause playing the current {@link org.tomahawk.libtomahawk.collection.Track} */ @Override public void pause() throws IllegalStateException { Log.d(TAG, "pause()"); if (mLibVLC != null) { if (mLibVLC.isPlaying()) { mLibVLC.pause(); } } }
/** Start playing the previously prepared {@link org.tomahawk.libtomahawk.collection.Track} */ @Override public void start() throws IllegalStateException { Log.d(TAG, "start()"); if (mLibVLC != null) { if (!mLibVLC.isPlaying()) { mLibVLC.play(); } } }
@Override public boolean isPlaying(Query query) { return mLibVLC != null && isPrepared(query) && mLibVLC.isPlaying(); }