aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/Video/VideoFileInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Naming/Video/VideoFileInfo.cs')
-rw-r--r--Emby.Naming/Video/VideoFileInfo.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/Emby.Naming/Video/VideoFileInfo.cs b/Emby.Naming/Video/VideoFileInfo.cs
index 3cdc483ff..6a29ada7e 100644
--- a/Emby.Naming/Video/VideoFileInfo.cs
+++ b/Emby.Naming/Video/VideoFileInfo.cs
@@ -1,4 +1,4 @@
-
+
namespace Emby.Naming.Video
{
/// <summary>
@@ -65,10 +65,7 @@ namespace Emby.Naming.Video
/// Gets the file name without extension.
/// </summary>
/// <value>The file name without extension.</value>
- public string FileNameWithoutExtension
- {
- get { return !IsDirectory ? System.IO.Path.GetFileNameWithoutExtension(Path) : System.IO.Path.GetFileName(Path); }
- }
+ public string FileNameWithoutExtension => !IsDirectory ? System.IO.Path.GetFileNameWithoutExtension(Path) : System.IO.Path.GetFileName(Path);
public override string ToString()
{