aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/VideosService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Api/VideosService.cs')
-rw-r--r--MediaBrowser.Api/VideosService.cs10
1 files changed, 7 insertions, 3 deletions
diff --git a/MediaBrowser.Api/VideosService.cs b/MediaBrowser.Api/VideosService.cs
index 476ea405c..f7f864d7e 100644
--- a/MediaBrowser.Api/VideosService.cs
+++ b/MediaBrowser.Api/VideosService.cs
@@ -158,8 +158,7 @@ namespace MediaBrowser.Api
Path = GetMappedPath(i),
RunTimeTicks = i.RunTimeTicks,
Video3DFormat = i.Video3DFormat,
- VideoType = i.VideoType,
- IsHD = i.IsHD
+ VideoType = i.VideoType
};
}
@@ -234,7 +233,12 @@ namespace MediaBrowser.Api
{
if (stream.Width.HasValue)
{
- if (stream.Width.Value >= 1900)
+ if (stream.Width.Value >= 3800)
+ {
+ name = name + " " + "4K";
+ name = name.Trim();
+ }
+ else if (stream.Width.Value >= 1900)
{
name = name + " " + "1080P";
name = name.Trim();