feat: replace periods with spaces
This commit is contained in:
parent
207cbc0239
commit
9a37a3b215
1
media.go
1
media.go
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user