Release Memby 0.2.64

This commit is contained in:
ponzischeme89
2026-08-14 13:32:14 +12:00
parent ad0c74f880
commit 05d95f51cd
33 changed files with 1142 additions and 112 deletions
+11
View File
@@ -53,6 +53,17 @@ type Movie struct {
MinimumAvailability string `json:"minimumAvailability,omitempty"`
}
// SearchMovie asks Radarr to search exactly one tracked film. It does not delete or
// unmonitor the existing file; Radarr retains it until its normal import policy wins.
func (c *Client) SearchMovie(ctx context.Context, movieID int) error {
if movieID <= 0 {
return fmt.Errorf("radarr: invalid movie id")
}
return c.post(ctx, "/api/v3/command", map[string]any{
"name": "MoviesSearch", "movieIds": []int{movieID},
}, &struct{}{})
}
type RootFolder struct {
Path string `json:"path"`
}