From 4057f5b0ac92f317b3b60c12be877c08d3124394 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 14 Jan 2018 01:47:13 -0500 Subject: [PATCH] fix task --- Emby.Dlna/PlayTo/Device.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Emby.Dlna/PlayTo/Device.cs b/Emby.Dlna/PlayTo/Device.cs index 085564d2e7..3940464e55 100644 --- a/Emby.Dlna/PlayTo/Device.cs +++ b/Emby.Dlna/PlayTo/Device.cs @@ -387,7 +387,7 @@ private Task SetPlay(TransportCommands avCommands, CancellationToken cancellatio { var command = avCommands.ServiceActions.FirstOrDefault(c => c.Name == "Play"); if (command == null) - return Task.CompletedTask; + return Task.FromResult(true); var service = GetAvTransportService();