[mpd] Modify output enum logging to show shortid as well

This commit is contained in:
ejurgensen 2016-07-29 21:37:53 +02:00
parent 561228d9f7
commit 1e02dc51fd
1 changed files with 3 additions and 3 deletions

View File

@ -3224,9 +3224,6 @@ outputs_enum_cb(uint64_t id, const char *name, int relvol, struct spk_flags flag
outputs = (struct outputs *)arg; outputs = (struct outputs *)arg;
DPRINTF(E_DBG, L_MPD, "outputid: %" PRIu64 ", outputname: %s, outputenabled: %d\n",
id, name, flags.selected);
output = (struct output*)malloc(sizeof(struct output)); output = (struct output*)malloc(sizeof(struct output));
output->id = id; output->id = id;
@ -3239,6 +3236,9 @@ outputs_enum_cb(uint64_t id, const char *name, int relvol, struct spk_flags flag
outputs->count++; outputs->count++;
if (flags.selected) if (flags.selected)
outputs->active++; outputs->active++;
DPRINTF(E_DBG, L_MPD, "Output enum: shortid %d, id %" PRIu64 ", name '%s', selected %d\n",
output->shortid, output->id, output->name, output->selected);
} }
/* /*