Skip to content

The Free Software Media System - Server Backend & API

fix quick play with play button

Luke Pulverenti9ccdd71f29e7
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.cs
index e1d0a1858f..c49c318ee3 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);
}