Remove expose full path
This commit is contained in:
@@ -115,11 +115,6 @@ func (t *TorrentManager) GetPath(file *File) string {
|
||||
if !t.Config.ShouldIgnoreRenames() && file.Rename != "" {
|
||||
return file.Rename
|
||||
}
|
||||
if t.Config.ShouldExposeFullPath() {
|
||||
filename := strings.TrimPrefix(file.Path, "/")
|
||||
filename = strings.ReplaceAll(filename, "/", " - ")
|
||||
return filename
|
||||
}
|
||||
filename := filepath.Base(file.Path)
|
||||
return filename
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user