mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-24 06:27:08 -04:00
Fixed: Cleaning the path for movie collections with top level folders
This commit is contained in:
parent
c9836f997c
commit
63a7d33e7e
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using NLog;
|
||||
using NzbDrone.Common.Extensions;
|
||||
using NzbDrone.Common.Instrumentation.Extensions;
|
||||
using NzbDrone.Core.AutoTagging;
|
||||
using NzbDrone.Core.Configuration;
|
||||
|
@ -145,7 +146,7 @@ namespace NzbDrone.Core.Movies
|
|||
SearchOnAdd = movie.AddOptions?.SearchForMovie ?? false,
|
||||
QualityProfileId = movie.QualityProfileId,
|
||||
MinimumAvailability = movie.MinimumAvailability,
|
||||
RootFolderPath = _folderService.GetBestRootFolderPath(movie.Path).TrimEnd('/', '\\', ' '),
|
||||
RootFolderPath = _folderService.GetBestRootFolderPath(movie.Path).GetCleanPath(),
|
||||
Tags = movie.Tags
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue