1
0
Fork 0

don't delete torrents!

This commit is contained in:
xeviff 2024-05-24 19:27:56 +02:00
parent e4284af7f0
commit 56fde83030
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
<groupId>tv.mangrana</groupId>
<artifactId>mangrana-commons</artifactId>
<version>7.1.2</version>
<version>7.1.3</version>
<properties>
<maven.compiler.source>8</maven.compiler.source>

View File

@ -36,7 +36,7 @@ public interface SonarrAPIInterface extends APIInterface {
@DELETE
@Path("/queue/bulk")
@Consumes({ MediaType.APPLICATION_JSON })
void deleteQueueElements(QueueBulk ids, @QueryParam("apikey") String apikey);
void deleteQueueElements(QueueBulk ids, @QueryParam("removeFromClient") boolean removeTorrents, @QueryParam("apikey") String apikey);
@GET
@Path("/series/{id}")

View File

@ -41,7 +41,7 @@ public class SonarrApiGateway {
}
public void deleteQueueElements(List<Integer> ids) {
proxy.deleteQueueElements(new QueueBulk(ids), apiKey);
proxy.deleteQueueElements(new QueueBulk(ids), false, apiKey);
log("sent Delete command to Sonarr for the queue elements with ids "+ids);
}