daneren2005 / Subsonic

Home of the DSub Android client fork
GNU General Public License v3.0
579 stars 162 forks source link

Android 11: Saving to MediaStore fails due to album art insert error #1003

Open daneren2005 opened 3 years ago

daneren2005 commented 3 years ago

To fix https://github.com/daneren2005/Subsonic/issues/1002 I stopped it from crashing the system and preventing stuff from saving to storage, but it is still failing to save to the MediaStore.

daneren2005 commented 3 years ago

android.database.sqlite.SQLiteException: table album_art has no column named _id (code 1 SQLITE_ERROR): , while compiling: INSERT INTO album_art (_data,_id) VALUES (?,_GET_ID( '/storage/emulated/0/Android/media/github.daneren2005.dsub/music/Panic At The Disco/A Fever You Can''t Sweat Out/albumart.jpg' ))

khers commented 1 year ago

FWIW, I still see this problem and it manifests in strange ways. The app doesn't crash. but often when I pause playback and then come back to it, DSUB has to re-cache the file.