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 --- .../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 ++ 6 files changed, 87 insertions(+), 21 deletions(-) (limited to 'player-android') 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 @@ + +