Fixed bulk live download when user chooses to sync starred tracks

This commit is contained in:
antonio 2023-03-12 17:59:12 +01:00
parent 3f6f3ab06a
commit da7030bee1
7 changed files with 60 additions and 14 deletions

View file

@ -17,6 +17,9 @@ class Download(@PrimaryKey override val id: String) : Child(id) {
@ColumnInfo(name = "playlist_name")
var playlistName: String? = null
@ColumnInfo(name = "download_state", defaultValue = "1")
var downloadState: Int = 0;
constructor(child: Child) : this(child.id) {
parentId = child.parentId
isDir = child.isDir