@Override protected void add(Item item, String playlist) { try { app.oMPDAsyncHelper.oMPD.addToPlaylist( playlist, app.oMPDAsyncHelper.oMPD.find("genre", item.getName())); Tools.notifyUser(irAdded, item); } catch (MPDServerException e) { e.printStackTrace(); } }
@Override protected void add(Item item, boolean replace, boolean play) { try { app.oMPDAsyncHelper .oMPD .getPlaylist() .addAll(app.oMPDAsyncHelper.oMPD.find("genre", item.getName())); Tools.notifyUser(irAdded, item); } catch (MPDServerException e) { e.printStackTrace(); } }