Hello everyone,
I am new on Node-red, and I have another problem. While music (i.e., from youtube) is playing on Kodi, I want to see the music title, artist, year, etc.
However, I see the information like this:
{"notification":"Player.OnAVStart","data":{"data":{"item":{"title":"World's Most Epic Music Ever: Pressed For Time (Amine Sebti)","type":"video","year":2016},"player":{"playerid":1,"speed":1}},"sender":"xbmc"}}
But they are not tidy. I would prefer to see the only title like "World's Most Epic Music Ever: Pressed For Time (Amine Sebti)"
I also use "node-red-contrib-kodi" and here is my flow:
[{"id":"3b137f22.17037","type":"tab","label":"Flow 4","disabled":false,"info":""},{"id":"a91c535c.6f2df","type":"kodi-in","z":"3b137f22.17037","name":"kodi","controller":"d202ce84.24c45","x":263,"y":368,"wires":[["a8d5e129.5438b","95b72b4c.488658"]]},{"id":"95b72b4c.488658","type":"debug","z":"3b137f22.17037","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":622,"y":312,"wires":[]},{"id":"a8d5e129.5438b","type":"ui_text","z":"3b137f22.17037","group":"2f101410.857cfc","order":12,"width":0,"height":0,"name":"","label":"text","format":"{{msg.payload}}","layout":"row-spread","x":598.482666015625,"y":416.32275390625,"wires":[]},{"id":"d202ce84.24c45","type":"kodi-controller","z":"","name":"kodi","host":"localhost","port":"9090"},{"id":"2f101410.857cfc","type":"ui_group","z":"","name":"Kodi Kontrol","tab":"743f23a2.ece61c","order":5,"disp":true,"width":"6","collapse":true},{"id":"743f23a2.ece61c","type":"ui_tab","z":"","name":"R10 Dome","icon":"home","order":2,"disabled":false,"hidden":false}]
I have already checked "Node-Red Working with messages" and " Understanding and Using The Node-Red Message Object" but I still don't understand. Can anyone give me at least one working example?