def METHOD_NAME(self, data):
    if not xbmc.getCondVisibility('System.AddonIsEnabled(service.upnext)'):
        return
    videoid_next_ep = _upnext_get_next_episode_videoid(data['videoid'], data['metadata'])
    if not videoid_next_ep:
        return
    info_next_ep = self.nfsession.get_videoid_info(videoid_next_ep)
    try:
        self.upnext_info = self._get_upnext_info(videoid_next_ep,
                                                 info_next_ep,
                                                 data['metadata'],
                                                 data['is_played_from_strm'])
    except DBRecordNotExistError:
        # The videoid record of the STRM episode is missing in add-on database when:
        # - The metadata have a new episode, but the STRM is not exported yet
        # - User try to play STRM files copied from another/previous add-on installation (without import them)
        # - User try to play STRM files from a shared path (like SMB) of another device (without use shared db)
        LOG.warn('Up Next add-on signal skipped, the videoid for the next episode does not exist in the database')