@dinkybluebug245 can’t test this, because I don’t have sonos speakers, but this would be an quick an ugly solution
$.each(data, function (i, item) {
if(item.coordinator.roomName === 'Kitchen'){
var room = item.coordinator.roomName;
var state = item.coordinator.state.zoneState;
var artist = item.coordinator.state.currentTrack.artist;
var track = item.coordinator.state.currentTrack.title;
var cover = item.coordinator.state.currentTrack.absoluteAlbumArtURI;
var streamInfo = item.coordinator.state.currentTrack.streamInfo;
if(item.members.length > 1){
room = '';
$.each(item.members, function (j, member) {
room += member.roomName + ', ';
});
room = room.slice(0, -2);
}
text += this.renderRoom(state, artist, track, cover, room);
}
}.bind(this));
personally i would fork the repository add a config option exclude: [‘LivingRoom’, ‘Bathroom’] etc. to have normal behaviour for all people updating the module without need to change the config to get their familiar result. and then i would check
$.each(data, (i, item) => {
if(this.config.exclude.indexOf(item.coordinator.roomName) === -1){
and then submit a pull request