mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 04:35:09 +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)
|
// Find episode ID (barely ever works)
|
||||||
const episodeTitle = oldItem.item.meta.seasonData.episodes.find(
|
const episodeTitle = oldItem.item.meta.seasonData.episodes.find(
|
||||||
(ep) => ep.id === oldItem.item.series?.episodeId
|
(ep) => ep.number === oldItem.item.series?.episode
|
||||||
)?.title;
|
)?.title;
|
||||||
|
|
||||||
// Add season to season data
|
// Add season to season data
|
||||||
|
Loading…
Reference in New Issue
Block a user