mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 05:15:08 +01:00
use episode number for migration
This commit is contained in:
parent
023a850e4f
commit
380b0675aa
@ -60,7 +60,7 @@ export const VideoProgressStore = createVersionedStore<WatchedStoreData>()
|
||||
) {
|
||||
// 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
|
||||
|
Loading…
Reference in New Issue
Block a user