relocate movie option
This commit is contained in:
parent
a5b3a70363
commit
0986382fd1
|
@ -47,4 +47,9 @@ public interface RadarrAPIInterface extends APIInterface {
|
|||
@Consumes({ MediaType.APPLICATION_JSON })
|
||||
void updateMovie(MovieResource movie, @PathParam("id") int movieId, @QueryParam("apikey") String apikey);
|
||||
|
||||
@PUT
|
||||
@Path("/movie/{id}")
|
||||
@Consumes({ MediaType.APPLICATION_JSON })
|
||||
void relocateMovie(MovieResource movie, @PathParam("id") int movieId, @QueryParam("moveFiles") boolean moveFiles, @QueryParam("apikey") String apikey);
|
||||
|
||||
}
|
|
@ -50,4 +50,8 @@ public class RadarrApiGateway {
|
|||
proxy.updateMovie(movie, movie.getId(), apiKey);
|
||||
}
|
||||
|
||||
public void relocateMovie(MovieResource movie){
|
||||
proxy.relocateMovie(movie, movie.getId(), true, apiKey);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue