bravia2mqtt icon indicating copy to clipboard operation
bravia2mqtt copied to clipboard

Channel shows as Object

Open NovaGL opened this issue 8 years ago • 6 comments

Using Live TV when I look at the channel all I see the below. How can I get it to show the correct information

[object Object]
qos : 0, retain : true, cmd : publish, dup : false, 
topic : bravia:xxx/status/channel, messageId : , length : 61

NovaGL avatar Jul 07 '17 11:07 NovaGL

Hm, that's odd. I'll have to investigate.

What tool are you using that produced that output? I don't recognize the format.

forty2 avatar Jul 07 '17 16:07 forty2

Using MQTTBox on Chrome

When I look up the channel info using HTTP post I get this

{
"result":[
{
"uri": "tv:dvbt?trip=4112.561.563&srvName=ABC",
"source": "tv:dvbt",
"title": "ABC",
"dispNum": "002",
"tripletStr": "4112.561.563",
"programTitle": "Grand Designs: Living In The Country",
"startDateTime": "2017-07-08T12:01:00+1000",
"durationSec": 2949
}
],
"id": 2
}

NovaGL avatar Jul 08 '17 02:07 NovaGL

I have exactly the same with my kdl-43w755c

infrat avatar Apr 03 '18 14:04 infrat

Fixed in https://github.com/forty2/bravia-simple-ip-control/pull/2

jpg0 avatar Aug 15 '18 01:08 jpg0

Thanks for that. How do I get program title?

Now it just shows channel number.

NovaGL avatar Aug 19 '18 01:08 NovaGL

I'm not sure what it's supposed to provide in the mqtt message; I only fixed it such that it provides the same format that it expects when receiving a command to update (change) the channel.

Is there any doc specifying what it should be?

jpg0 avatar Aug 21 '18 03:08 jpg0