|
@@ -11,6 +11,10 @@ namespace MediaBrowser.Controller.Entities
|
|
|
[JsonIgnore]
|
|
|
public override string MediaType => Model.Entities.MediaType.Book;
|
|
|
|
|
|
+ public override bool SupportsPlayedStatus => true;
|
|
|
+
|
|
|
+ public override bool SupportsPositionTicksResume => true;
|
|
|
+
|
|
|
[JsonIgnore]
|
|
|
public string SeriesPresentationUniqueKey { get; set; }
|
|
|
|
|
@@ -20,6 +24,11 @@ namespace MediaBrowser.Controller.Entities
|
|
|
[JsonIgnore]
|
|
|
public Guid SeriesId { get; set; }
|
|
|
|
|
|
+ public Book()
|
|
|
+ {
|
|
|
+ this.RunTimeTicks = TimeSpan.TicksPerSecond;
|
|
|
+ }
|
|
|
+
|
|
|
public string FindSeriesSortName()
|
|
|
{
|
|
|
return SeriesName;
|