toggle_schedule
Enable or disable a contiguous range of time blocks in a library’s weekly processing schedule.
Instructions
Turn a contiguous range of hour blocks in a library's weekly schedule on or off (POST /api/v2/toggle-schedule). The schedule controls when Tdarr is allowed to process the library.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Index of the last schedule block in the range | |
| type | Yes | Schedule type the range belongs to, as used by the Tdarr UI | |
| start | Yes | Index of the first schedule block in the range | |
| library_id | Yes | Library ID (dbID), from list_libraries |