mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-02 04:16:38 +08:00
fix legacy library scan and empty pages
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user