mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-14 00:04:13 +09:00
slight change to error message (cosmetic) for pin request error
This commit is contained in:
12
lib/raop.c
12
lib/raop.c
@@ -172,18 +172,18 @@ conn_request(void *ptr, http_request_t *request, http_response_t **response) {
|
||||
raop_handler_t handler = NULL;
|
||||
if (!strcmp(method, "GET") && !strcmp(url, "/info")) {
|
||||
handler = &raop_handler_info;
|
||||
} else if (!strcmp(method, "POST") && !strcmp(url, "/pair-setup")) {
|
||||
} else if (!strcmp(method, "POST") && !strcmp(url, "/opair-setup")) {
|
||||
handler = &raop_handler_pairsetup;
|
||||
} else if (!strcmp(method, "POST") && !strcmp(url, "/pair-verify")) {
|
||||
handler = &raop_handler_pairverify;
|
||||
} else if (!strcmp(method, "POST") && !strcmp(url, "/fp-setup")) {
|
||||
handler = &raop_handler_fpsetup;
|
||||
} else if (!strcmp(method, "POST") && !strcmp(url, "/pair-pin-start")) {
|
||||
logger_log(conn->raop->logger, LOGGER_INFO, "Unsupported client request %s with URL %s", method, url);
|
||||
logger_log(conn->raop->logger, LOGGER_INFO, "AirPlay client has requested PIN as implemented on AppleTV,");
|
||||
logger_log(conn->raop->logger, LOGGER_INFO, "but UxPlay does not require a PIN and cannot supply one.");
|
||||
logger_log(conn->raop->logger, LOGGER_INFO, "This client behavior may be controlled by mobile device management (MDM)");
|
||||
logger_log(conn->raop->logger, LOGGER_INFO, "(such as Apple Configurator or a third-party MDM tool).");
|
||||
logger_log(conn->raop->logger, LOGGER_ERR, "*** ERROR: Unsupported client request %s with URL %s", method, url);
|
||||
logger_log(conn->raop->logger, LOGGER_ERR, "*** AirPlay client has requested PIN as implemented on AppleTV,");
|
||||
logger_log(conn->raop->logger, LOGGER_ERR, "*** but UxPlay does not require a PIN and cannot supply one.");
|
||||
logger_log(conn->raop->logger, LOGGER_ERR, "*** This client behavior may be controlled by mobile device management (MDM)");
|
||||
logger_log(conn->raop->logger, LOGGER_ERR, "*** (such as Apple Configurator or a third-party MDM tool).");
|
||||
} else if (!strcmp(method, "OPTIONS")) {
|
||||
handler = &raop_handler_options;
|
||||
} else if (!strcmp(method, "SETUP")) {
|
||||
|
||||
Reference in New Issue
Block a user