From 1c912d5feee218ef46a295c05652f2dc3bd4d1d5 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 22 May 2026 23:16:14 +0300 Subject: Add migration for missing playback_progress.finished column (5f) Existing databases created before the finished column was added to the base schema still satisfied CREATE TABLE IF NOT EXISTS and never got the column, causing GET /api/v1/media/{id} to fail with "SQL logic error: no such column: finished" and break media detail view. Co-Authored-By: Claude Sonnet 4.6 --- .claude/worktrees/agent-a054a7cb1d07a6a38 | 1 + .../android/app/src/main/AndroidManifest.xml | 6 ++++ .../kotlin/zone/foo/player_android/MainActivity.kt | 9 +++-- player-android/lib/api/dio_client.dart | 26 +++++++++++--- .../lib/providers/auth_state_provider.dart | 41 ++++++++++++++-------- player-android/pubspec.lock | 24 +++++++++++++ player-android/pubspec.yaml | 2 ++ player-server/internal/repository/schema.go | 9 +++++ 8 files changed, 97 insertions(+), 21 deletions(-) create mode 160000 .claude/worktrees/agent-a054a7cb1d07a6a38 diff --git a/.claude/worktrees/agent-a054a7cb1d07a6a38 b/.claude/worktrees/agent-a054a7cb1d07a6a38 new file mode 160000 index 0000000..7e65725 --- /dev/null +++ b/.claude/worktrees/agent-a054a7cb1d07a6a38 @@ -0,0 +1 @@ +Subproject commit 7e65725253e40dce726d1be441b33b72d72ea8c4 diff --git a/player-android/android/app/src/main/AndroidManifest.xml b/player-android/android/app/src/main/AndroidManifest.xml index 3276ad7..81db32c 100644 --- a/player-android/android/app/src/main/AndroidManifest.xml +++ b/player-android/android/app/src/main/AndroidManifest.xml @@ -63,6 +63,12 @@ + +