aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/Book.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-07-06 15:46:35 -0400
committerGitHub <noreply@github.com>2016-07-06 15:46:35 -0400
commitecdfb3ceff7d3c462e39dbcfda8f2a547a5140e5 (patch)
tree3eb53b4177ba8d82f01c8a926bf533ddacda7dc3 /MediaBrowser.Controller/Entities/Book.cs
parent41fd919629dc833fcf0018bc0260443d5ca2dedc (diff)
parent80688496e8ad610b288ff8420a8853e91cd59749 (diff)
Merge pull request #1923 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Controller/Entities/Book.cs')
-rw-r--r--MediaBrowser.Controller/Entities/Book.cs15
1 files changed, 14 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Book.cs b/MediaBrowser.Controller/Entities/Book.cs
index 96fad670e..34368d61f 100644
--- a/MediaBrowser.Controller/Entities/Book.cs
+++ b/MediaBrowser.Controller/Entities/Book.cs
@@ -1,4 +1,5 @@
-using MediaBrowser.Controller.Providers;
+using System;
+using MediaBrowser.Controller.Providers;
using MediaBrowser.Model.Configuration;
using System.Linq;
using System.Runtime.Serialization;
@@ -17,7 +18,19 @@ namespace MediaBrowser.Controller.Entities
}
}
+ [IgnoreDataMember]
public string SeriesName { get; set; }
+ public Guid? SeriesId { get; set; }
+
+ public string FindSeriesName()
+ {
+ return SeriesName;
+ }
+
+ public Guid? FindSeriesId()
+ {
+ return SeriesId;
+ }
public override bool CanDownload()
{