# if they're both empty then fill out as much info as possible by searching the show name
else:
else:
logger.log(u"We were given a Indexer ID "+str(indexer_id)+" but it doesn't match a show we have in our list, so leaving indexer_id empty",logger.DEBUG)
indexer_id=0
# if no indexerID then fill out as much info as possible by searching the show name
ifnotindexer_id:
# check the name cache and see if we already know what show this is
# check the name cache and see if we already know what show this is
logger.log(
logger.log(
u"Checking the cache to see if we already know the indexer id of "+parse_result.series_name,
u"Checking the cache to see if we already know the indexer id of "+parse_result.series_name,