fix legacy library scan and empty pages

This commit is contained in:
ShukeBta
2026-07-01 22:51:33 +08:00
parent e18f73ed3c
commit 0493823b99
17 changed files with 536 additions and 33 deletions
+1
View File
@@ -74,6 +74,7 @@ function compactSeriesKey(raw: string): string {
}
export function isEpisodeLike(media: Media): boolean {
if (!media) return false
return (media.season_num ?? 0) > 0 || (media.episode_num ?? 0) > 0
}