summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Scan/Model/Title.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Scan/Model/Title.cs')
-rw-r--r--win/CS/HandBrakeWPF/Services/Scan/Model/Title.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Scan/Model/Title.cs b/win/CS/HandBrakeWPF/Services/Scan/Model/Title.cs
index ac611cfb7..cf79c6726 100644
--- a/win/CS/HandBrakeWPF/Services/Scan/Model/Title.cs
+++ b/win/CS/HandBrakeWPF/Services/Scan/Model/Title.cs
@@ -127,6 +127,19 @@ namespace HandBrakeWPF.Services.Scan.Model
/// </summary>
public string SourceName { get; set; }
+ public string DisplaySourceName
+ {
+ get
+ {
+ if (!string.IsNullOrEmpty(this.SourceName))
+ {
+ return Path.GetFileNameWithoutExtension(this.SourceName);
+ }
+
+ return null;
+ }
+ }
+
public string SourceDisplayName
{
get