|
|
|
@ -81,7 +81,7 @@ func scanEpisodes() ([]Episode, error) {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
relPath, _ := filepath.Rel(".", path)
|
|
|
|
|
// relPath, _ := filepath.Rel(".", path)
|
|
|
|
|
baseName := strings.TrimSuffix(filepath.Base(path), filepath.Ext(path))
|
|
|
|
|
coverPath := filepath.Join(coversDir, baseName+".jpg")
|
|
|
|
|
|
|
|
|
|