diff --git a/Jellyfin.Plugin.MediaCleaner/Pages/home.js b/Jellyfin.Plugin.MediaCleaner/Pages/home.js index 5f74f56..662777e 100644 --- a/Jellyfin.Plugin.MediaCleaner/Pages/home.js +++ b/Jellyfin.Plugin.MediaCleaner/Pages/home.js @@ -178,10 +178,31 @@ const addClickHandlersToDeleteButtons = () => { } const deleteFromRadarr = () => { + // Need to GET first for movieIds? + + // Likely need to use MovieEditor DELETE endpoint (/api/v3/movie/editor) + // Payload: + // { + // "movieIds": [ + // 0 + // ], + // "deleteFiles": true + // } console.log("Delete from Radarr!") } const deleteFromSonarr = () => { + // Need to GET first for seriesIds? + + // Likely need to use SeriesEditor DELETE endpoint + // Payload: + // { + // "seriesIds": [ + // 1 + // ], + // "seasonFolder": null, + // "deleteFiles": true, + // } console.log("Delete from Sonarr!") }