# if we couldn't get the necessary info from either of the above methods, try the next name
iftvdb_id==Noneorseason==Noneorepisodes==[]:
returnStr+=logHelper("Unable to get all the necessary info, ended up with tvdb_id {0}, season {1}, and episodes {2}. Skipping to the next name...".format(tvdb_id,season,episodes),logger.DEBUG)
returnStr+=logHelper("Unable to get all the necessary info, ended up with tvdb_id "+str(tvdb_id)+", season "+str(season)+", and episodes "+str(episodes)+". Skipping to the next name...",logger.DEBUG)
# if we have a good enough result then fine, use it
returnStr+=logHelper("Unable to figure out what this episode is, giving up. Ended up with tvdb_id {0}, season {1}, and episodes {2}.".format(tvdb_id,season,episodes),logger.DEBUG)
returnStr+=logHelper("Unable to figure out what this episode is, giving up. Ended up with tvdb_id "+str(tvdb_id)+", season "+str(season)+", and episodes "+str(episodes)+".",logger.DEBUG)
returnreturnStr
# if we found enough info but it wasn't a show we know about, give up