From 64ec52f8e1ae8698592400a85814fc8bd8e8c6b1 Mon Sep 17 00:00:00 2001 From: Komodo <45665554+Komodo5197@users.noreply.github.com> Date: Wed, 6 Nov 2024 09:16:50 -0500 Subject: [PATCH] Do not assign playlists a viewId during migration. (#944) --- lib/services/downloads_service.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/services/downloads_service.dart b/lib/services/downloads_service.dart index a6b508f96..693bd1585 100644 --- a/lib/services/downloads_service.dart +++ b/lib/services/downloads_service.dart @@ -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);