You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've checked that the YouTube Music is available in my country.
I understand that the issue will be (ignored/closed) if I intentionally remove or skip any mandatory field.
Describe the bug
Crashes after completing downloading a few songs from a YouTube music playlist.
To Reproduce
Open YouTube Music.
Copy the shere link to a music playlist.
Paste the copied link in Spowlo.
Mp3 Format & Highest bitrate selected.
Start download.
Error reports
android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: downloaded_songs_info.id (code 1555 SQLITE_CONSTRAINT_PRIMARYKEY)
at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:961)
at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:790)
at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:89)
at androidx.sqlite.db.framework.FrameworkSQLiteStatement.executeInsert(FrameworkSQLiteStatement.kt:42)
at androidx.room.EntityInsertionAdapter.insert(EntityInsertionAdapter.kt:67)
at com.bobbyesp.spowlo.database.SongsInfoDao_Impl$15.call(SongsInfoDao_Impl.java:260)
at com.bobbyesp.spowlo.database.SongsInfoDao_Impl$15.call(SongsInfoDao_Impl.java:254)
at androidx.room.CoroutinesRoom$Companion.execute(CoroutinesRoom.kt:56)
at androidx.room.CoroutinesRoom.execute(Unknown Source:2)
at com.bobbyesp.spowlo.database.SongsInfoDao_Impl.insertAll(SongsInfoDao_Impl.java:254)
at com.bobbyesp.spowlo.database.SongsInfoDao$DefaultImpls.insertInfoDistinctByPath(SongsInfoDao.kt:50)
at com.bobbyesp.spowlo.database.SongsInfoDao_Impl.lambda$insertInfoDistinctByPath$1(SongsInfoDao_Impl.java:488)
at com.bobbyesp.spowlo.database.SongsInfoDao_Impl.$r8$lambda$3HaP2INEKdsew8VMpwZJXlKhz3s(Unknown Source:0)
at com.bobbyesp.spowlo.database.SongsInfoDao_Impl$$ExternalSyntheticLambda0.invoke(D8$$SyntheticClass:0)
at androidx.room.RoomDatabaseKt$withTransaction$transactionBlock$1.invokeSuspend(RoomDatabaseExt.kt:62)
at androidx.room.RoomDatabaseKt$withTransaction$transactionBlock$1.invoke(Unknown Source:8)
at androidx.room.RoomDatabaseKt$withTransaction$transactionBlock$1.invoke(Unknown Source:4)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:61)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
at...
Checklist
Describe the bug
Crashes after completing downloading a few songs from a YouTube music playlist.
To Reproduce
Error reports
android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: downloaded_songs_info.id (code 1555 SQLITE_CONSTRAINT_PRIMARYKEY)
at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:961)
at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:790)
at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:89)
at androidx.sqlite.db.framework.FrameworkSQLiteStatement.executeInsert(FrameworkSQLiteStatement.kt:42)
at androidx.room.EntityInsertionAdapter.insert(EntityInsertionAdapter.kt:67)
at com.bobbyesp.spowlo.database.SongsInfoDao_Impl$15.call(SongsInfoDao_Impl.java:260)
at com.bobbyesp.spowlo.database.SongsInfoDao_Impl$15.call(SongsInfoDao_Impl.java:254)
at androidx.room.CoroutinesRoom$Companion.execute(CoroutinesRoom.kt:56)
at androidx.room.CoroutinesRoom.execute(Unknown Source:2)
at com.bobbyesp.spowlo.database.SongsInfoDao_Impl.insertAll(SongsInfoDao_Impl.java:254)
at com.bobbyesp.spowlo.database.SongsInfoDao$DefaultImpls.insertInfoDistinctByPath(SongsInfoDao.kt:50)
at com.bobbyesp.spowlo.database.SongsInfoDao_Impl.lambda$insertInfoDistinctByPath$1(SongsInfoDao_Impl.java:488)
at com.bobbyesp.spowlo.database.SongsInfoDao_Impl.$r8$lambda$3HaP2INEKdsew8VMpwZJXlKhz3s(Unknown Source:0)
at com.bobbyesp.spowlo.database.SongsInfoDao_Impl$$ExternalSyntheticLambda0.invoke(D8$$SyntheticClass:0)
at androidx.room.RoomDatabaseKt$withTransaction$transactionBlock$1.invokeSuspend(RoomDatabaseExt.kt:62)
at androidx.room.RoomDatabaseKt$withTransaction$transactionBlock$1.invoke(Unknown Source:8)
at androidx.room.RoomDatabaseKt$withTransaction$transactionBlock$1.invoke(Unknown Source:4)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:61)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
at...
Screenshots & Screen Records
Device info
App version: 1.5.1 (1050100)
Device information: Android 13 (API 33)
Supported ABIs: [arm64-v8a, armeabi-v7a, armeabi]
spotDL version: null
Additional context
No response
The text was updated successfully, but these errors were encountered: