From 93730281f4ebb5896daff6c3bda2ce8418b7e570 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Thu, 6 Sep 2018 22:04:55 +0200 Subject: [PATCH] [dacp] Map discrete-pause to playpause command handler --- src/httpd_dacp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/httpd_dacp.c b/src/httpd_dacp.c index d26e4ab7..94011470 100644 --- a/src/httpd_dacp.c +++ b/src/httpd_dacp.c @@ -2609,6 +2609,10 @@ static struct httpd_uri_map dacp_handlers[] = .regexp = "^/ctrl-int/[[:digit:]]+/pause$", .handler = dacp_reply_pause }, + { + .regexp = "^/ctrl-int/[[:digit:]]+/discrete-pause$", + .handler = dacp_reply_playpause + }, { .regexp = "^/ctrl-int/[[:digit:]]+/playpause$", .handler = dacp_reply_playpause