Commit Graph

11 Commits

Author SHA1 Message Date
Scarriffle
9497c6e315 Bidirectional progress sync, reliable background history, MB-accurate download ring
- Bidirectional progress sync: server's `lastUpdate` now parsed correctly; pull
  timer (60s) + scenePhase hook reconcile against local state. Server-newer
  while paused/playing stashes a `pendingServerProgress` and surfaces a prompt
  on next Play; server-older triggers an immediate push.
- History: lockscreen/Control-Center skip & scrub now route through AppState
  via `onRemoteSkip`/`onRemoteSeek` callbacks (previously bypassed history).
  `AppState.skip(by:)` itself now records the pre-skip position.
- Chapter detection moved to the AVPlayer periodic time observer — fires
  reliably while the app is backgrounded or the device is locked, where the
  5s runloop Timer can be throttled.
- Always fetch item detail when online (even for downloaded items) so
  `item.chapters` is populated and history entries get chapter titles.
- DownloadManager: per-track byte-fraction progress, so single-track 1+GB
  audiobooks' ring grows smoothly instead of staying at 0% until done.
- PlayerBar: extracted ScrubberView into its own struct so per-second time
  updates no longer re-render the parent (fixes iOS history-popup flicker).
- App icon: re-embedded sRGB profile in marketing icon; bumped version 2.0
  to 2.1.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-27 20:44:38 +02:00
Scarriffle
fa47cae664 Add chapters, history, bookmarks, live download progress, and i18n
- Chapter navigation with auto-scroll to current chapter and end-of-chapter sleep timer
- Opt-in listening history (local-only) with XML export and per-item quick menu
- Bookmarks with server sync via Audiobookshelf API
- Live MB counter during downloads via URLSessionDownloadTask delegate
- In-progress downloads shown in "Heruntergeladen" with dimmed cover + ring overlay
- Cover image cache (50 MB memory / 500 MB disk URLCache)
- German/English localization (de.lproj, en.lproj)
- Loading spinner now triggers immediately on view switch instead of waiting for the network

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 18:43:16 +02:00
Scarriffle
15d8e71d09 Version 1.1 App Store 2026-05-25 18:43:16 +02:00
Scarriffle
7ca511d37f Fix: LICENCE → LICENSE umbenennen 2026-05-18 08:04:17 +02:00
7edad3c1f3 Dateien nach "LICENCE" hochladen 2026-05-18 07:58:03 +02:00
559b9eecc9 README.md aktualisiert 2026-05-18 07:57:09 +02:00
37bf0171c5 Dateien nach "/" hochladen
Readme hinzugefügt
2026-05-18 07:53:20 +02:00
Scarriffle
ac7906f0cf Merge iOS and Mac app into one 2026-05-17 21:06:59 +02:00
Scarriffle
069f8bac2d Restructure project folders 2026-05-17 08:45:37 +02:00
Scarriffle
652cfc4cf4 Grundcode AudiobookshelfClient 2026-05-14 19:24:52 +02:00
Scarriffle
7d0bc6466a Initial Commit 2026-05-13 17:46:14 +02:00