mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-05-14 12:58:03 +02:00
30a7cba02a
Align the Kotlin-side history database contract with the Dart-side schema v8 changes from the previous commit. - Bump HISTORY_SCHEMA_VERSION from 5 to 8 - Add spotify_id_norm, isrc_norm, match_key normalized columns to CREATE TABLE and ensureHistoryColumn calls - Create history_path_keys table with item_id/path_key composite key - Backfill normalized columns and path keys on first v8 open - Populate normalized columns in putNormalizedHistoryColumns when building history rows - Update deleteDuplicateHistoryRows to also clean history_path_keys - Call replaceHistoryPathKeys after history row insert - Implement buildPathMatchKeys in Kotlin mirroring the Dart version: URI parsing, backslash normalization, percent decoding, Android storage path aliases, audio extension stripping