getChannelList

fun getChannelList(new: List<ChannelSettings>, old: List<ChannelSettings>): List<Channel>(source)

Builds a Channel list from the difference between two ChannelSettings lists. Only changes are included in the resulting list.

Return

A Channel list containing only the modified channels.

Parameters

new

The updated ChannelSettings list.

old

The current ChannelSettings list (required when disabling unused channels).