diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-08-26 15:50:02 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-08-26 15:50:02 -0400 |
| commit | 749a181fac6d4ebc77047d8b9dd262abe3bd40d5 (patch) | |
| tree | 7a9606b409432fe2c07513ebc127213d653d3157 /MediaBrowser.Controller/Entities/Video.cs | |
| parent | 6147491a8a8f8b1e5c546d17d3f4875ac8d5b42e (diff) | |
fix video images not being created
Diffstat (limited to 'MediaBrowser.Controller/Entities/Video.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Video.cs | 11 |
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 |
