chg: Comment out unused code

This commit is contained in:
SinTan1729 2025-09-26 16:39:46 -05:00
parent e1d63a9eef
commit e790bf3eb6
No known key found for this signature in database
GPG key ID: 0538DD402EA50898

View file

@ -131,22 +131,22 @@ public class PlaylistRepository {
});
}
public void updatePlaylist(String playlistId, String name, boolean isPublic, ArrayList<String> songIdToAdd, ArrayList<Integer> songIndexToRemove) {
App.getSubsonicClientInstance(false)
.getPlaylistClient()
.updatePlaylist(playlistId, name, isPublic, songIdToAdd, songIndexToRemove)
.enqueue(new Callback<ApiResponse>() {
@Override
public void onResponse(@NonNull Call<ApiResponse> call, @NonNull Response<ApiResponse> response) {
}
@Override
public void onFailure(@NonNull Call<ApiResponse> call, @NonNull Throwable t) {
}
});
}
// public void updatePlaylist(String playlistId, String name, boolean isPublic, ArrayList<String> songIdToAdd, ArrayList<Integer> songIndexToRemove) {
// App.getSubsonicClientInstance(false)
// .getPlaylistClient()
// .updatePlaylist(playlistId, name, isPublic, songIdToAdd, songIndexToRemove)
// .enqueue(new Callback<ApiResponse>() {
// @Override
// public void onResponse(@NonNull Call<ApiResponse> call, @NonNull Response<ApiResponse> response) {
//
// }
//
// @Override
// public void onFailure(@NonNull Call<ApiResponse> call, @NonNull Throwable t) {
//
// }
// });
// }
public void deletePlaylist(String playlistId) {
App.getSubsonicClientInstance(false)