aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/Audio
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-04-19 18:27:07 +0200
committerBond_009 <bond.009@outlook.com>2020-04-19 18:27:07 +0200
commitfc3e2baccc8c32171df655043feb7afae6bab34c (patch)
tree0fb3e15a38acf97c2550d28acac0ac567a9e2689 /Emby.Naming/Audio
parentd99536e99fe7e8d204ef93db39e519afbbfdad0a (diff)
Address comments
Diffstat (limited to 'Emby.Naming/Audio')
-rw-r--r--Emby.Naming/Audio/AlbumParser.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Emby.Naming/Audio/AlbumParser.cs b/Emby.Naming/Audio/AlbumParser.cs
index 23ff8c3fa..b63be3a64 100644
--- a/Emby.Naming/Audio/AlbumParser.cs
+++ b/Emby.Naming/Audio/AlbumParser.cs
@@ -4,7 +4,6 @@
using System;
using System.Globalization;
using System.IO;
-using System.Linq;
using System.Text.RegularExpressions;
using Emby.Naming.Common;
@@ -22,8 +21,7 @@ namespace Emby.Naming.Audio
public bool IsMultiPart(string path)
{
var filename = Path.GetFileName(path);
-
- if (path.Length == 0)
+ if (filename.Length == 0)
{
return false;
}