def searchForNeededEpisodes():
 results = []
 for curShow in sickrage.srCore.SHOWLIST:
  if curShow.paused:
   continue
  episodes = wantedEpisodes(curShow, date.fromordinal(1))
  result = searchProviders(curShow, episodes, cacheOnly=True)
  if result:
   results += result
 return results

def searchForNeededEpisodes ( ) : results = [ ] for curShow in sickrage . srCore . SHOWLIST : if curShow . paused : continue episodes = wantedEpisodes ( curShow , date . fromordinal ( 1 ) ) result = searchProviders ( curShow , episodes , cacheOnly = True ) if result : results += result return results
check providers for details on wanted episodes :return: episodes we have a search hit for .