Skip to content

Commit

Permalink
Do not assign playlists a viewId during migration.
Browse files Browse the repository at this point in the history
  • Loading branch information
Komodo5197 committed Nov 5, 2024
1 parent 6cd6e92 commit 7d204f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/services/downloads_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,9 @@ class DownloadsService {
}

isarItem.state = DownloadItemState.complete;
isarItem.viewId = parent.viewId;
if (isarItem.baseItemType != BaseItemDtoType.playlist) {
isarItem.viewId = parent.viewId;
}

_isar.writeTxnSync(() {
_isar.downloadItems.putSync(isarItem);
Expand Down

0 comments on commit 7d204f1

Please sign in to comment.