def METHOD_NAME(tmdb_id):
    cache_name = f'TMDb.get_nextaired_item.{prefix}.{tmdb_id}'
    cache_item = self.tmdb_api._cache.get_cache(cache_name)
    if cache_item:
        return cache_item
    ip = self.tmdb_api.get_tvshow_nextaired(tmdb_id)
    if not ip:
        return
    item_airdate = ip.get(f'{prefix}.original')
    if not item_airdate:
        return
    status = ip.get('status')
    if status in ['Canceled', 'Ended']:
        cache_days = 30  # Check in a month just in case gets renewed on another network
    elif date_in_range(item_airdate, 10, -2, date_fmt="%Y-%m-%d", date_lim=10):
        cache_days = 1  # Item airing this week so check again tomorrow in case schedule changes
    else:
        cache_days = 7  # Item airing in more than a week so let's check next week just in case of changes
    item = get_empty_item()
    item['infoproperties'] = ip
    item['infolabels']['mediatype'] = 'episode'
    item['infolabels']['title'] = ip.get(f'{prefix}.name')
    item['infolabels']['episode'] = ip.get(f'{prefix}.episode')
    item['infolabels']['season'] = ip.get(f'{prefix}.season')
    item['infolabels']['plot'] = ip.get(f'{prefix}.plot')
    item['infolabels']['year'] = ip.get(f'{prefix}.year')
    item['infolabels']['premiered'] = item_airdate
    item['art']['thumb'] = ip.get(f'{prefix}.thumb')
    item['label'] = f"{item['infolabels']['title']} ({item_airdate})"
    item['infoproperties']['tmdb_type'] = 'episode'
    item['infoproperties']['tmdb_id'] = item['unique_ids']['tvshow.tmdb'] = tmdb_id
    item['params'] = {
        'info': 'details',
        'tmdb_type': 'tv',
        'tmdb_id': tmdb_id,
        'episode': item['infolabels']['episode'],
        'season': item['infolabels']['season']}
    return self.tmdb_api._cache.set_cache(item, cache_name=cache_name, cache_days=cache_days)