Fixed rss path
parent
7302c58ba8
commit
3b524fa190
2
pod.go
2
pod.go
|
@ -81,7 +81,7 @@ func scanEpisodes() ([]Episode, error) {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
relPath, _ := filepath.Rel(".", path)
|
// relPath, _ := filepath.Rel(".", path)
|
||||||
baseName := strings.TrimSuffix(filepath.Base(path), filepath.Ext(path))
|
baseName := strings.TrimSuffix(filepath.Base(path), filepath.Ext(path))
|
||||||
coverPath := filepath.Join(coversDir, baseName+".jpg")
|
coverPath := filepath.Join(coversDir, baseName+".jpg")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue