mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-28 10:30:57 +01:00
remove trailing whitespace
This commit is contained in:
@@ -29,7 +29,7 @@ namespace Emby.Naming.AudioBook
|
||||
/// </summary>
|
||||
/// <value>The alternate versions.</value>
|
||||
public List<AudioBookFileInfo> AlternateVersions { get; set; }
|
||||
|
||||
|
||||
public AudioBookInfo()
|
||||
{
|
||||
Files = new List<AudioBookFileInfo>();
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace Emby.Naming.AudioBook
|
||||
|
||||
var parsingResult = new AudioBookFilePathParser(_options)
|
||||
.Parse(path, IsDirectory);
|
||||
|
||||
|
||||
return new AudioBookFileInfo
|
||||
{
|
||||
Path = path,
|
||||
|
||||
@@ -282,7 +282,7 @@ namespace Emby.Naming.Common
|
||||
new EpisodeExpression(@".*(\\|\/)(?<seriesname>((?[][ ._-]*[Ee]([0-9]+))[^\\\/])*)?[Ss](?<seasonnumber>[0-9]+)[][ ._-]*[Ee](?<epnumber>[0-9]+)([^\\/]*)$")
|
||||
{
|
||||
IsNamed = true
|
||||
},
|
||||
},
|
||||
// <!-- foo.ep01, foo.EP_01 -->
|
||||
new EpisodeExpression(@"[\._ -]()[Ee][Pp]_?([0-9]+)([^\\/]*)$"),
|
||||
new EpisodeExpression("([0-9]{4})[\\.-]([0-9]{2})[\\.-]([0-9]{2})", true)
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace Emby.Naming.TV
|
||||
|
||||
var parsingResult = new EpisodePathParser(_options)
|
||||
.Parse(path, IsDirectory, isNamed, isOptimistic, supportsAbsoluteNumbers, fillExtendedInfo);
|
||||
|
||||
|
||||
return new EpisodeInfo
|
||||
{
|
||||
Path = path,
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace Emby.Naming.Video
|
||||
}
|
||||
catch (ArgumentException)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
var result = _options.CleanDateTimeRegexes.Select(i => Clean(name, i))
|
||||
|
||||
@@ -126,7 +126,7 @@ namespace Emby.Naming.Video
|
||||
}
|
||||
stack.Files.Add(file2.FullName);
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
// Sequel
|
||||
offset = 0;
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Emby.Naming.Video
|
||||
{
|
||||
var result = new StubResult();
|
||||
var extension = Path.GetExtension(path) ?? string.Empty;
|
||||
|
||||
|
||||
if (_options.StubFileExtensions.Contains(extension, StringComparer.OrdinalIgnoreCase))
|
||||
{
|
||||
result.IsStub = true;
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace Emby.Naming.Video
|
||||
/// Gets or sets the type of the stub.
|
||||
/// </summary>
|
||||
/// <value>The type of the stub.</value>
|
||||
public string StubType { get; set; }
|
||||
public string StubType { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the type.
|
||||
/// </summary>
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace Emby.Naming.Video
|
||||
/// </summary>
|
||||
/// <value>The alternate versions.</value>
|
||||
public List<VideoFileInfo> AlternateVersions { get; set; }
|
||||
|
||||
|
||||
public VideoInfo()
|
||||
{
|
||||
Files = new List<VideoFileInfo>();
|
||||
|
||||
@@ -55,9 +55,9 @@ namespace Emby.Naming.Video
|
||||
|
||||
info.Year = info.Files.First().Year;
|
||||
|
||||
var extraBaseNames = new List<string>
|
||||
var extraBaseNames = new List<string>
|
||||
{
|
||||
stack.Name,
|
||||
stack.Name,
|
||||
Path.GetFileNameWithoutExtension(stack.Files[0])
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user