Changes the mper-derived track_id published over MQTT from hex to
decimal, and updates queue_next to embed the value in the DACP
persistentid query without a 0x prefix, matching the new format.
Queueing behavior (command=add&mode=3) is unchanged.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
An unrelated change in a prior commit swapped stop_play() for
release_play_lock(NULL), which isn't declared in rtsp.h and broke
the build with an implicit-declaration error.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The 'mper' handler cast the raw big-endian persistent-id bytes directly
to a host-native uint64_t, which reverses the value on little-endian
hosts (e.g. Raspberry Pi). metadata_hub.c already reconstructs the same
field correctly by applying ntohl() to each 32-bit half; mqtt.c now does
the same, so the published track_id matches the real dmap.persistentid
and can be used directly with the queue_next command.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sends ctrl-int/1/cue?command=add&query='dmap.persistentid:0x<id>'&mode=3
to the DACP source, where <id> is the hex track_id string taken directly
from the MQTT payload after "queue_next ".
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>