mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 19:23:38 +01:00
remove trailing whitespace
This commit is contained in:
@@ -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