Set dates
set_datesSet or clear the dates on one library item: started_at, finished_at, added_at. Each accepts YYYY-MM-DD, YYYY-MM, or YYYY (a year-only finish is kept as a year, not turned into January 1st), or "none" to clear. Use for imported histories that only carry years, and to fix a wrong date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Exact title of the item (or pass item_id) | |
| item_id | No | Library item id (UUID), as shown by get_details. Preferred over title. | |
| added_at | No | When the item entered the library: YYYY-MM-DD, YYYY-MM, or YYYY. Use when importing from another app that recorded it. | |
| media_type | Yes | Type of media | |
| started_at | No | YYYY-MM-DD, YYYY-MM, YYYY, or "none" to clear. For albums this is the first listen. | |
| finished_at | No | YYYY-MM-DD, YYYY-MM, YYYY, or "none" to clear. For albums this is the last listen. |