From 380b0675aae885d7ded9987ceb902392bbe7f5d5 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Mon, 30 Oct 2023 21:40:02 +0100 Subject: [PATCH] use episode number for migration --- src/state/watched/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/watched/store.ts b/src/state/watched/store.ts index 3d45f879..53dc6ef7 100644 --- a/src/state/watched/store.ts +++ b/src/state/watched/store.ts @@ -60,7 +60,7 @@ export const VideoProgressStore = createVersionedStore() ) { // Find episode ID (barely ever works) const episodeTitle = oldItem.item.meta.seasonData.episodes.find( - (ep) => ep.id === oldItem.item.series?.episodeId + (ep) => ep.number === oldItem.item.series?.episode )?.title; // Add season to season data