mirror of
https://github.com/truewhile/MeBox.git
synced 2026-09-29 19:36:36 +08:00
fix library deletion and strm path handling
This commit is contained in:
@@ -99,8 +99,9 @@ export function isSeriesCard(card: SeriesCard): boolean {
|
||||
}
|
||||
|
||||
export function seriesTitle(media: Media): string {
|
||||
const title = media.title?.trim()
|
||||
const fromPath = seriesTitleFromPath(media.path)
|
||||
return fromPath || media.title || media.original_name || '未命名节目'
|
||||
return (title && !unsafeEpisodeTitle(title) ? title : '') || fromPath || media.original_name || title || '未命名节目'
|
||||
}
|
||||
|
||||
function normalizeTitle(value?: string): string {
|
||||
|
||||
Reference in New Issue
Block a user