Merge pull request #2600 from Bnyro/master

Fix crash when restoring local playlists
This commit is contained in:
Bnyro 2023-01-05 20:34:34 +01:00 committed by GitHub
commit b4722af048
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,8 +7,8 @@ import androidx.room.PrimaryKey
@Entity
data class LocalPlaylistItem(
@PrimaryKey(autoGenerate = true) val id: Int = 0,
@ColumnInfo var playlistId: Int,
@ColumnInfo val videoId: String,
@ColumnInfo var playlistId: Int = 0,
@ColumnInfo val videoId: String = "",
@ColumnInfo val title: String? = null,
@ColumnInfo val uploadDate: String? = null,
@ColumnInfo val uploader: String? = null,