toniebox-reverse-engineering / teddycloud

teddyCloud is an open source server replacement for the Boxine Cloud
https://toniebox-reverse-engineering.github.io/docs/tools/teddycloud/
GNU General Public License v2.0
408 stars 31 forks source link

MQTT: missing image/title on webstream assigned (custom) Tonies #194

Open ks61625 opened 2 months ago

ks61625 commented 2 months ago

Whenever I place a (custom) tonie on a box, with radio-web-stream assigned, mqtt points to default "teddy" picture. Although there is a record in tonies.custom.json with an available image-source path, it wont get transfered via mqtt.

I guess it has to do with the missing "audio_id" in tonies.custom.json. Since the audio_id seems to change every time you place the webstream-tonie on the box, there is no chance to define one in tonies.custom.json.

So...maybe mqtt should use the path directly (if there is one), instead of using a maping by audio_id (just guessing)??

Also: sensor.box_content_title shows just "Unknown". It should be the title or series defined in tonies.custom.json as well, I guess.

meiser79 commented 1 day ago

It's the same with a custom library content (converted mp3 to taf via WebUI), there's no icon shown.