Skip to content

Commit

Permalink
[httpd/daap] Improve logging of speaker profile selection
Browse files Browse the repository at this point in the history
  • Loading branch information
ejurgensen committed Sep 28, 2024
1 parent 17ef308 commit ba4b2c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/httpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1240,8 +1240,6 @@ httpd_xcode_profile_get(struct httpd_request *hreq)
if (!hreq->peer_address)
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
// have set a prefered streaming format
ret = player_speaker_get_byaddress(&spk, hreq->peer_address);
Expand Down
2 changes: 2 additions & 0 deletions src/httpd_daap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1225,6 +1225,8 @@ daap_reply_songlist_generic(struct httpd_request *hreq, int playlist)

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;
while ((ret = db_query_fetch_file(&dbmfi, &qp)) == 0)
{
Expand Down

0 comments on commit ba4b2c8

Please sign in to comment.