def imgName(self): return helper.turn_into_ascii(helper.fileNameClean(u"%s (%s) %s-%s.%s" % ( helper.replace_all(self.element.getName()), self.element.id, self.name, self.provider, self.type )))
def _getSearchNames(self, game): terms = [] if game.additional_search_terms != None: terms = [x.strip() for x in game.additional_search_terms.split(',')] terms.append(re.sub('[ ]*\(\d{4}\)', '', replace_all(game.name))) log("Search terms for %s are %s" % (self.name, terms)) return terms
def imgName(self): return "%s (%s).jpeg" % (helper.replace_all(self.name), self.id)
def imgName(self): return helper.fileNameClean(u"%s (%s) %s.%s" % (helper.replace_all( self.element.getName()), self.element.id, self.name, self.type))
def imgName(self): return helper.fileNameClean(u"%s (%s) %s.%s" % (helper.replace_all(self.element.getName()), self.element.id, self.name, self.type))
def imgName(self): return helper.turn_into_ascii( helper.fileNameClean( u"%s (%s) %s-%s.%s" % (helper.replace_all(self.element.getName()), self.element.id, self.name, self.provider, self.type)))