mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-12 08:16:37 +08:00
fix: prevent episode metadata from splitting series
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user