def METHOD_NAME(self, _event_type, cdplaylist, disc_title=None):
    if not hasattr(self.fppanel, 'tree'):
        return
    # TODO: set name to panel. This requires a GUI change in
    # panel/flatplaylist/FlatPlaylistPanel respectively flatplaylist.ui
    # Do not use self.name because it breaks the panel after switching to another CD
    if disc_title is None:
        self.panel_title = _('Unknown disc')
    else:
        self.panel_title = disc_title
    if cdplaylist in self.device.playlists:
        logger.info("Calling queue_draw for %s", str(cdplaylist))
        self.fppanel.tree.queue_draw()