section-11 icon indicating copy to clipboard operation
section-11 copied to clipboard

Custom intervals in intervals.icu?

Open lippih opened this issue 4 months ago • 1 comments

It's more of a question than a problem: Intervals that I've manually defined in intervals.icu are not being written to intervals.json by sync.py. Is this intentional, or is there a workaround to get my own intervals into intervals.json?

lippih avatar Aug 02 '26 09:08 lippih

Fixed in sync.py v3.123 / Section 11 v11.55.

Interval fetching was fetch-once: an activity already recorded as ok was never re-fetched, so later edits stayed invisible. Intervals.icu does expose a signal that an activity changed, so sync now re-fetches that activity's intervals once per edit. No extra API calls when nothing changed.

Update and let sync.py run twice.

Tip: deleting a cached JSON like intervals.json to force a rebuild also works, but it is no longer necessary for this.

CrankAddict avatar Aug 10 '26 19:08 CrankAddict