feat: replace periods with spaces

This commit is contained in:
Jan Bader 2025-01-28 00:02:52 +01:00
parent 207cbc0239
commit 9a37a3b215

View File

@ -21,6 +21,7 @@ func newMediaElement(p string) *mediaElement {
ext := filepath.Ext(name) ext := filepath.Ext(name)
name = trimSuffix(name, ext) name = trimSuffix(name, ext)
name = strings.ReplaceAll(name, ".", " ")
dash := strings.Index(name, "-") dash := strings.Index(name, "-")
episode := "" episode := ""
if dash != -1 { if dash != -1 {