CFenner/MMM-Sonos

playbar still shows when playbar is in TV mode - also how do I hide some rooms?

dinkybluebug opened this issue · 0 comments

Hi - great module by the way

My playbar is still showing when in TV mode, which is weird as I thought the name of the room would be hidden if the TV was on. Any ideas why?

Also - I only want to show information for one room - in this case the 'kitchen'. Is there anyway to only show Kitchen sonos information?

See picture for example - ignore 'people magazine' text - https://postimg.org/image/f6hthcgjz/

Many thanks

/zones info is :

[{"uuid":"RINCON_000E58C229A401400","coordinator":{"uuid":"RINCON_000E58C229A401400","state":{"currentTrack":{"artist":"","title":"BBC Radio 2","album":"","albumArtURI":"/getaa?s=1&u=x-sonosapi-stream%3as24940%3fsid%3d254%26flags%3d8224%26sn%3d0","duration":0,"uri":"x-sonosapi-stream:s24940?sid=254&flags=8224&sn=0","radioShowMetaData":"Pick of the Pops,p49588","absoluteAlbumArtURI":"http://192.168.1.13:1400/getaa?s=1&u=x-sonosapi-stream%3as24940%3fsid%3d254%26flags%3d8224%26sn%3d0","streamInfo":"","type":"radio"},"nextTrack":{"artist":"","title":"","album":"","albumArtURI":"","duration":0,"uri":""},"volume":26,"mute":false,"trackNo":1,"elapsedTime":0,"elapsedTimeFormatted":"00:00","zoneState":"STOPPED","playerState":"STOPPED","zonePlayMode":{"shuffle":false,"repeat":false,"crossfade":false}},"playMode":{"shuffle":false,"repeat":false,"crossfade":false},"roomName":"Bedroom","coordinator":"RINCON_000E58C229A401400","groupState":{"volume":26,"mute":false}},"members":[{"uuid":"RINCON_000E58C229A401400","state":{"currentTrack":{"artist":"","title":"BBC Radio 2","album":"","albumArtURI":"/getaa?s=1&u=x-sonosapi-stream%3as24940%3fsid%3d254%26flags%3d8224%26sn%3d0","duration":0,"uri":"x-sonosapi-stream:s24940?sid=254&flags=8224&sn=0","radioShowMetaData":"Pick of the Pops,p49588","absoluteAlbumArtURI":"http://192.168.1.13:1400/getaa?s=1&u=x-sonosapi-stream%3as24940%3fsid%3d254%26flags%3d8224%26sn%3d0","streamInfo":"","type":"radio"},"nextTrack":{"artist":"","title":"","album":"","albumArtURI":"","duration":0,"uri":""},"volume":26,"mute":false,"trackNo":1,"elapsedTime":0,"elapsedTimeFormatted":"00:00","zoneState":"STOPPED","playerState":"STOPPED","zonePlayMode":{"shuffle":false,"repeat":false,"crossfade":false}},"playMode":{"shuffle":false,"repeat":false,"crossfade":false},"roomName":"Bedroom","coordinator":"RINCON_000E58C229A401400","groupState":{"volume":26,"mute":false}}]},{"uuid":"RINCON_B8E9375058C601400","coordinator":{"uuid":"RINCON_B8E9375058C601400","state":{"currentTrack":{"artist":"Adele","title":"Daydreamer","album":"19","albumArtURI":"/getaa?u=x-file-cifs%3a%2f%2fwdmycloud%2fpublic%2fShared%2520Music%2fAdele%2f19%2f01%2520Daydreamer.mp3&v=46","duration":220,"uri":"x-file-cifs://wdmycloud/public/Shared%20Music/Adele/19/01%20Daydreamer.mp3","radioShowMetaData":"","absoluteAlbumArtURI":"http://192.168.1.13:1400/getaa?u=x-file-cifs%3a%2f%2fwdmycloud%2fpublic%2fShared%2520Music%2fAdele%2f19%2f01%2520Daydreamer.mp3&v=46","streamInfo":"","type":"track"},"nextTrack":{"uri":"x-file-cifs://wdmycloud/public/Shared%20Music/Adele/19/02%20Best%20for%20Last.mp3","albumArtURI":"/getaa?u=x-file-cifs%3a%2f%2fwdmycloud%2fpublic%2fShared%2520Music%2fAdele%2f19%2f02%2520Best%2520for%2520Last.mp3&v=46","absoluteAlbumArtURI":"http://192.168.1.13:1400/getaa?u=x-file-cifs%3a%2f%2fwdmycloud%2fpublic%2fShared%2520Music%2fAdele%2f19%2f02%2520Best%2520for%2520Last.mp3&v=46","title":"Best for Last","artist":"Adele","album":"19"},"volume":25,"mute":false,"trackNo":1,"elapsedTime":25,"elapsedTimeFormatted":"00:25","zoneState":"PAUSED_PLAYBACK","playerState":"PAUSED_PLAYBACK","zonePlayMode":{"shuffle":false,"repeat":false,"crossfade":false}},"playMode":{"shuffle":false,"repeat":false,"crossfade":false},"roomName":"Bathroom","coordinator":"RINCON_B8E9375058C601400","groupState":{"volume":25,"mute":false}},"members":[{"uuid":"RINCON_B8E9375058C601400","state":{"currentTrack":{"artist":"Adele","title":"Daydreamer","album":"19","albumArtURI":"/getaa?u=x-file-cifs%3a%2f%2fwdmycloud%2fpublic%2fShared%2520Music%2fAdele%2f19%2f01%2520Daydreamer.mp3&v=46","duration":220,"uri":"x-file-cifs://wdmycloud/public/Shared%20Music/Adele/19/01%20Daydreamer.mp3","radioShowMetaData":"","absoluteAlbumArtURI":"http://192.168.1.13:1400/getaa?u=x-file-cifs%3a%2f%2fwdmycloud%2fpublic%2fShared%2520Music%2fAdele%2f19%2f01%2520Daydreamer.mp3&v=46","streamInfo":"","type":"track"},"nextTrack":{"uri":"x-file-cifs://wdmycloud/public/Shared%20Music/Adele/19/02%20Best%20for%20Last.mp3","albumArtURI":"/getaa?u=x-file-cifs%3a%2f%2fwdmycloud%2fpublic%2fShared%2520Music%2fAdele%2f19%2f02%2520Best%2520for%2520Last.mp3&v=46","absoluteAlbumArtURI":"http://192.168.1.13:1400/getaa?u=x-file-cifs%3a%2f%2fwdmycloud%2fpublic%2fShared%2520Music%2fAdele%2f19%2f02%2520Best%2520for%2520Last.mp3&v=46","title":"Best for Last","artist":"Adele","album":"19"},"volume":25,"mute":false,"trackNo":1,"elapsedTime":25,"elapsedTimeFormatted":"00:25","zoneState":"PAUSED_PLAYBACK","playerState":"PAUSED_PLAYBACK","zonePlayMode":{"shuffle":false,"repeat":false,"crossfade":false}},"playMode":{"shuffle":false,"repeat":false,"crossfade":false},"roomName":"Bathroom","coordinator":"RINCON_B8E9375058C601400","groupState":{"volume":25,"mute":false}}]},{"uuid":"RINCON_000E58B9149B01400","coordinator":{"uuid":"RINCON_000E58B9149B01400","state":{"currentTrack":{"artist":"","title":" ","album":"","albumArtURI":"","duration":0,"uri":"x-sonos-htastream:RINCON_000E58B9149B01400:spdif","radioShowMetaData":"","absoluteAlbumArtURI":"","type":"track"},"nextTrack":{"artist":"","title":"","album":"","albumArtURI":"","duration":0,"uri":""},"volume":21,"mute":false,"trackNo":1,"elapsedTime":38,"elapsedTimeFormatted":"00:38","zoneState":"PLAYING","playerState":"PLAYING","zonePlayMode":{"shuffle":false,"repeat":false,"crossfade":false}},"playMode":{"shuffle":false,"repeat":false,"crossfade":false},"roomName":"Living Room","coordinator":"RINCON_000E58B9149B01400","groupState":{"volume":21,"mute":false}},"members":[{"uuid":"RINCON_000E58B9149B01400","state":{"currentTrack":{"artist":"","title":" ","album":"","albumArtURI":"","duration":0,"uri":"x-sonos-htastream:RINCON_000E58B9149B01400:spdif","radioShowMetaData":"","absoluteAlbumArtURI":"","type":"track"},"nextTrack":{"artist":"","title":"","album":"","albumArtURI":"","duration":0,"uri":""},"volume":21,"mute":false,"trackNo":1,"elapsedTime":38,"elapsedTimeFormatted":"00:38","zoneState":"PLAYING","playerState":"PLAYING","zonePlayMode":{"shuffle":false,"repeat":false,"crossfade":false}},"playMode":{"shuffle":false,"repeat":false,"crossfade":false},"roomName":"Living Room","coordinator":"RINCON_000E58B9149B01400","groupState":{"volume":21,"mute":false}}]},{"uuid":"RINCON_B8E93721CD5201400","coordinator":{"uuid":"RINCON_B8E93721CD5201400","state":{"currentTrack":{"artist":"","title":"Capital London","album":"","albumArtURI":"/getaa?s=1&u=x-sonosapi-stream%3as16534%3fsid%3d254%26flags%3d32%26sn%3d0","duration":0,"uri":"x-sonosapi-stream:s16534?sid=254&flags=32&sn=0","radioShowMetaData":"Will Cozens,p283635","absoluteAlbumArtURI":"http://192.168.1.13:1400/getaa?s=1&u=x-sonosapi-stream%3as16534%3fsid%3d254%26flags%3d32%26sn%3d0","streamInfo":"","type":"radio"},"nextTrack":{"artist":"","title":"","album":"","albumArtURI":"","duration":0,"uri":""},"volume":37,"mute":false,"trackNo":1,"elapsedTime":0,"elapsedTimeFormatted":"00:00","zoneState":"STOPPED","playerState":"STOPPED","zonePlayMode":{"shuffle":false,"repeat":false,"crossfade":false}},"playMode":{"shuffle":false,"repeat":false,"crossfade":false},"roomName":"Kitchen","coordinator":"RINCON_B8E93721CD5201400","groupState":{"volume":37,"mute":false}},"members":[{"uuid":"RINCON_B8E93721CD5201400","state":{"currentTrack":{"artist":"","title":"Capital London","album":"","albumArtURI":"/getaa?s=1&u=x-sonosapi-stream%3as16534%3fsid%3d254%26flags%3d32%26sn%3d0","duration":0,"uri":"x-sonosapi-stream:s16534?sid=254&flags=32&sn=0","radioShowMetaData":"Will Cozens,p283635","absoluteAlbumArtURI":"http://192.168.1.13:1400/getaa?s=1&u=x-sonosapi-stream%3as16534%3fsid%3d254%26flags%3d32%26sn%3d0","streamInfo":"","type":"radio"},"nextTrack":{"artist":"","title":"","album":"","albumArtURI":"","duration":0,"uri":""},"volume":37,"mute":false,"trackNo":1,"elapsedTime":0,"elapsedTimeFormatted":"00:00","zoneState":"STOPPED","playerState":"STOPPED","zonePlayMode":{"shuffle":false,"repeat":false,"crossfade":false}},"playMode":{"shuffle":false,"repeat":false,"crossfade":false},"roomName":"Kitchen","coordinator":"RINCON_B8E93721CD5201400","groupState":{"volume":37,"mute":false}}]}]

Many thanks