aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/Video.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-08-26 15:50:02 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-08-26 15:50:02 -0400
commit749a181fac6d4ebc77047d8b9dd262abe3bd40d5 (patch)
tree7a9606b409432fe2c07513ebc127213d653d3157 /MediaBrowser.Controller/Entities/Video.cs
parent6147491a8a8f8b1e5c546d17d3f4875ac8d5b42e (diff)
fix video images not being created
Diffstat (limited to 'MediaBrowser.Controller/Entities/Video.cs')
-rw-r--r--MediaBrowser.Controller/Entities/Video.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Video.cs b/MediaBrowser.Controller/Entities/Video.cs
index 887da46cc..ffb601dc4 100644
--- a/MediaBrowser.Controller/Entities/Video.cs
+++ b/MediaBrowser.Controller/Entities/Video.cs
@@ -161,7 +161,10 @@ namespace MediaBrowser.Controller.Entities
{
videoType = VideoType.Dvd;
}
-
+ else
+ {
+ return new string[] { };
+ }
return MediaEncoder.GetPlayableStreamFileNames(Path, videoType);
}
@@ -266,6 +269,12 @@ namespace MediaBrowser.Controller.Entities
}
[IgnoreDataMember]
+ public bool IsCompleteMedia
+ {
+ get { return !IsActiveRecording(); }
+ }
+
+ [IgnoreDataMember]
protected virtual bool EnableDefaultVideoUserDataKeys
{
get