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 {
|
func (t *TorrentManager) getName(name, originalName string) string {
|
||||||
// drop the extension from the name
|
// drop the extension from the name
|
||||||
if t.cfg.EnableRetainFolderNameExtension() {
|
if t.cfg.EnableRetainFolderNameExtension() && strings.Contains(name, originalName) {
|
||||||
return name
|
return name
|
||||||
} else {
|
} else {
|
||||||
ret := strings.TrimSuffix(originalName, ".mp4")
|
ret := strings.TrimSuffix(originalName, ".mp4")
|
||||||
|
|||||||
Reference in New Issue
Block a user