[httpd/daap] Improve logging of speaker profile selection

This commit is contained in:
ejurgensen 2024-09-28 20:31:13 +02:00
parent 17ef308489
commit ba4b2c8ddd
2 changed files with 2 additions and 2 deletions

View File

@ -1240,8 +1240,6 @@ httpd_xcode_profile_get(struct httpd_request *hreq)
if (!hreq->peer_address) if (!hreq->peer_address)
return XCODE_NONE; return XCODE_NONE;
DPRINTF(E_DBG, L_HTTPD, "Checking if client '%s' is a speaker\n", hreq->peer_address);
// A Roku Soundbridge may also be RCP device/speaker for which the user may // A Roku Soundbridge may also be RCP device/speaker for which the user may
// have set a prefered streaming format // have set a prefered streaming format
ret = player_speaker_get_byaddress(&spk, hreq->peer_address); ret = player_speaker_get_byaddress(&spk, hreq->peer_address);

View File

@ -1225,6 +1225,8 @@ daap_reply_songlist_generic(struct httpd_request *hreq, int playlist)
spk_profile = httpd_xcode_profile_get(hreq); spk_profile = httpd_xcode_profile_get(hreq);
DPRINTF(E_DBG, L_DAAP, "Speaker check of '%s' (codecs '%s') returned %d\n", hreq->user_agent, accept_codecs, spk_profile);
nsongs = 0; nsongs = 0;
while ((ret = db_query_fetch_file(&dbmfi, &qp)) == 0) while ((ret = db_query_fetch_file(&dbmfi, &qp)) == 0)
{ {