Skip to content

feature: gr import list refresh interval - #122

Open
benjitobz wants to merge 3 commits into
Chaptarr:developfrom
benjitobz:feature/goodreads-refresh-interval
Open

feature: gr import list refresh interval#122
benjitobz wants to merge 3 commits into
Chaptarr:developfrom
benjitobz:feature/goodreads-refresh-interval

Conversation

@benjitobz

Copy link
Copy Markdown

Description

Goodreads bookshelf import lists were pinned to a hard-coded MinRefreshInterval of 12 hours, which is a little extreme — a book added to a shelf could sit unnoticed for half a day, with no way to change it short of a rebuild. This makes the interval a per-list setting ("Refresh Interval (Minutes)", advanced) so users can pick a cadence that meets their needs. The default stays at 720 minutes (12 hours), so existing and new lists behave exactly as before unless a user opts into a shorter interval. Validated at a minimum of 1 minute, with help text noting that short intervals mean more requests to Goodreads.

Fixes # - N/A

Database Migration

NO. The new RefreshIntervalMinutes field is stored in the import list's existing JSON settings blob; no schema change.

How was this tested?

Docker (linux/amd64) on an Ubuntu server host, image built with Dockerfile.build, against live Goodreads shelves.

  • Verified the field appears under the list's advanced settings and persists across saves and restarts.
  • Set short and long intervals and confirmed the list actually re-fetched on the configured cadence rather than the old 12-hour floor.
  • Confirmed a pre-existing list (saved before the field existed) keeps working and falls back to the default instead of refreshing continuously.
  • Validation checked: an interval below 1 minute is rejected with "Refresh interval must be at least 1 minute".

Screenshots (UI changes only) - screenshot with and without the error helper message

image image

A note on AI: We know AI/agentic coding is everywhere and only getting
more popular. We won't insist that you disclose whether you used it or which
models you used, but in the same spirit, please don't take offense if your PR
is scrutinized and changes are requested.

Review time: The longer the PR and the more lines changed, the longer the
review will take. Small, focused PRs merge fastest. If yours is big, please be
patient.

benjitobz and others added 3 commits August 31, 2026 00:32
The configurable interval defaults to 720 minutes, the same 12 hours the
hard-coded MinRefreshInterval used, so existing lists and new ones behave
exactly as before until a user chooses a shorter interval.
@benjitobz benjitobz changed the title feature: GR import list refresh interval feature: gr import list refresh interval Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant