mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 08:07:10 -07:00
CleanFileName when getting new filename from MediaFileProvider.
This commit is contained in:
parent
244e0f04f4
commit
208feb7d19
4 changed files with 23 additions and 13 deletions
|
@ -129,7 +129,7 @@ namespace NzbDrone.Web.Controllers
|
|||
var path =
|
||||
rootPath.Replace('|', Path.DirectorySeparatorChar).Replace('^', Path.VolumeSeparatorChar).Replace(
|
||||
'`', '\'') +
|
||||
Path.DirectorySeparatorChar + EpisodeRenameHelper.CleanFilename(seriesName);
|
||||
Path.DirectorySeparatorChar + MediaFileProvider.CleanFilename(seriesName);
|
||||
|
||||
//Create the folder for the new series and then Add it
|
||||
_diskProvider.CreateDirectory(path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue