mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-24 14:37:07 -04:00
parent
76804dfefb
commit
7c5b2a299d
2 changed files with 3 additions and 6 deletions
|
@ -50,10 +50,7 @@ namespace NzbDrone.Core.Organizer
|
|||
|
||||
public static readonly Regex AirDateRegex = new Regex(@"\{Air(\s|\W|_)Date\}", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
|
||||
public static readonly Regex SeriesTitleRegex = new Regex(@"(?<token>\{(?:Series)(?<separator>[- ._])(Clean)?Title\})",
|
||||
RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
|
||||
public static readonly Regex MovieTitleRegex = new Regex(@"(?<token>\{((?:(Movie|Original))(?<separator>[- ._])(Clean)?(Title|Filename)(The)?)(?::(?<customFormat>[a-z0-9]+))?\})",
|
||||
public static readonly Regex MovieTitleRegex = new Regex(@"(?<token>\{((?:(Movie|Original))(?<separator>[- ._])(Clean)?(Title|Filename)(The)?)(?::(?<customFormat>[a-z0-9|]+))?\})",
|
||||
RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
|
||||
private static readonly Regex FileNameCleanupRegex = new Regex(@"([- ._])(\1)+", RegexOptions.Compiled);
|
||||
|
|
|
@ -10,8 +10,8 @@ namespace NzbDrone.Core.Organizer
|
|||
ReplaceIllegalCharacters = true,
|
||||
ColonReplacementFormat = 0,
|
||||
MultiEpisodeStyle = 0,
|
||||
MovieFolderFormat = "{Movie Title:EN} ({Release Year})",
|
||||
StandardMovieFormat = "{Movie Title:EN} ({Release Year}) {Quality Full}",
|
||||
MovieFolderFormat = "{Movie Title} ({Release Year})",
|
||||
StandardMovieFormat = "{Movie Title} ({Release Year}) {Quality Full}",
|
||||
};
|
||||
|
||||
public bool RenameMovies { get; set; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue