Revert because it impacts repair
This commit is contained in:
@@ -405,7 +405,7 @@ func hashStringToFh(s string) (fh uint64) {
|
||||
|
||||
func (t *TorrentManager) getName(name, originalName string) string {
|
||||
// drop the extension from the name
|
||||
if t.cfg.EnableRetainFolderNameExtension() {
|
||||
if t.cfg.EnableRetainFolderNameExtension() && strings.Contains(name, originalName) {
|
||||
return name
|
||||
} else {
|
||||
ret := strings.TrimSuffix(originalName, ".mp4")
|
||||
|
||||
Reference in New Issue
Block a user