aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-08-20 15:06:05 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-08-20 15:06:05 -0400
commit9ccdd71f29e7ceeb28fbcc421c88d2b304f77a1d (patch)
tree962b1fd9246aaf820ad0c04aa91bb340e1a05b62
parentff2f3108ee62fc8c943b1d83ec6312d6696990d8 (diff)
fix quick play with play button
-rw-r--r--Emby.Server.Implementations/Dto/DtoService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.cs
index e1d0a1858..c49c318ee 100644
--- a/Emby.Server.Implementations/Dto/DtoService.cs
+++ b/Emby.Server.Implementations/Dto/DtoService.cs
@@ -517,7 +517,7 @@ namespace Emby.Server.Implementations.Dto
}
}
- if (/*!(item is LiveTvProgram) ||*/ fields.Contains(ItemFields.PlayAccess))
+ if (!(item is LiveTvProgram) || fields.Contains(ItemFields.PlayAccess))
{
dto.PlayAccess = item.GetPlayAccess(user);
}