mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-28 10:30:57 +01:00
ReSharper conform to 'var' settings
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Emby.Naming.AudioBook
|
||||
|
||||
public AudioBookFilePathParserResult Parse(string path, bool IsDirectory)
|
||||
{
|
||||
AudioBookFilePathParserResult result = Parse(path);
|
||||
var result = Parse(path);
|
||||
return !result.Success ? new AudioBookFilePathParserResult() : result;
|
||||
}
|
||||
|
||||
|
||||
@@ -133,7 +133,7 @@ namespace Emby.Naming.TV
|
||||
result.EpisodeNumber = num;
|
||||
}
|
||||
|
||||
Group endingNumberGroup = match.Groups["endingepnumber"];
|
||||
var endingNumberGroup = match.Groups["endingepnumber"];
|
||||
if (endingNumberGroup.Success)
|
||||
{
|
||||
// Will only set EndingEpsiodeNumber if the captured number is not followed by additional numbers
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace Emby.Naming.Video
|
||||
/// <param name="path">The path.</param>
|
||||
/// <param name="IsDirectory">if set to <c>true</c> [is folder].</param>
|
||||
/// <returns>VideoFileInfo.</returns>
|
||||
/// <exception cref="System.ArgumentNullException">path</exception>
|
||||
/// <exception cref="ArgumentNullException">path</exception>
|
||||
public VideoFileInfo Resolve(string path, bool IsDirectory, bool parseName = true)
|
||||
{
|
||||
if (string.IsNullOrEmpty(path))
|
||||
|
||||
Reference in New Issue
Block a user