fix: prevent episode metadata from splitting series

This commit is contained in:
ShukeBta
2026-06-25 02:32:55 +08:00
parent baa4a38b0a
commit 3d3679c21c
8 changed files with 192 additions and 7 deletions
+5 -1
View File
@@ -221,7 +221,11 @@ func seriesTitleFromMediaPath(path string) string {
if dirIndex < 0 {
return ""
}
return normalizeSeriesPathTitle(parts[dirIndex])
title := normalizeSeriesPathTitle(parts[dirIndex])
if unsafeAutomaticEpisodeQuery(title) {
return ""
}
return title
}
func seriesDisplayTitle(media model.Media) string {