mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-28 23:26:06 +00: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 a new issue