More')
@@ -2700,7 +2689,7 @@ def season_mal(item):
title = scrapedtitle + " %ss (%s)" % (epis, year)
infoLabels = {}
if score != "N/A":
- title += " [COLOR %s]%s[COLOR]" % (color6, score)
+ title += " %s" % (score)
infoLabels["rating"] = float(score)
infoLabels["plot"] = scrapertools.htmlclean(plot)
infoLabels["year"] = year
@@ -2735,7 +2724,7 @@ def season_mal(item):
title = scrapedtitle + " %ss (%s)" % (epis, year)
infoLabels = {}
if score != "N/A":
- title += " [COLOR %s]%s[COLOR]" % (color6, score)
+ title += " %s" % (score)
infoLabels["rating"] = float(score)
infoLabels["plot"] = scrapertools.htmlclean(plot)
infoLabels["year"] = year
@@ -2866,7 +2855,7 @@ def detail_staff(item):
url = "https://myanimelist.net%s" % url
thumb = thumb.replace("r/46x64/", "")
rol = scrapertools.htmlclean(rol)
- titulo = "%s [COLOR %s][%s][/COLOR]" % (title, color6, rol)
+ titulo = "%s [%s]" % (title, rol)
itemlist.append(Item(channel=item.channel, action="detalles_mal", url=url,
thumbnail=thumb, fanart=default_fan, title=titulo, contentTitle=title))
@@ -2924,7 +2913,7 @@ def busqueda_mal(item):
title += " %s eps" % epis
if rating != "0.00" and rating != "N/A":
infolabels["rating"] = float(rating)
- title += " [COLOR %s]%s[/COLOR]" % (color6, rating)
+ title += " %s" % (rating)
itemlist.append(Item(channel=item.channel, title=title, action="detalles_mal", url=url, show=show,
thumbnail=thumb, infoLabels=infolabels, contentTitle=contentitle,
contentType=contentType, tipo=tipo.lower(), extra=extra))
@@ -2968,9 +2957,9 @@ def info_anidb(item, itemlist, url):
infoLabels["votes"] = scrapertools.find_single_match(data, 'itemprop="ratingCount">(.*?)')
thumbnail = scrapertools.find_single_match(data, '.*?src="([^"]+)"')
if infoLabels:
- title = config.get_localized_string(70376) % (color6, rating)
+ title = config.get_localized_string(70376) % (rating)
if re.search(r'(?:subtitle|audio) | language: spanish"', data):
- title += config.get_localized_string(70377) % color3
+ title += config.get_localized_string(70377)
itemlist.append(Item(channel=item.channel, title=title, infoLabels=infoLabels, action="",
thumbnail=thumbnail, ))
@@ -2988,7 +2977,7 @@ def info_anidb(item, itemlist, url):
title += " [%s]" % abrev
estado = estado.replace("complete", config.get_localized_string(70378)).replace("finished", config.get_localized_string(70379)) \
.replace("stalled", config.get_localized_string(70380)).replace("dropped", config.get_localized_string(70381))
- title += " [COLOR %s](%s)[/COLOR] %s/%s [%s]" % (color6, estado, epis, epi_total, source)
+ title += " (%s) %s/%s [%s]" % (estado, epis, epi_total, source)
itemlist.append(Item(channel=item.channel, title=title, infoLabels=infoLabels, action="",
thumbnail=thumbnail, ))
@@ -3093,7 +3082,7 @@ def musica_anime(item):
if not animes.get(anime):
animes[anime] = []
animes[anime].append(
- Item(channel=item.channel, action=action, title="[COLOR %s][%s][/COLOR]" % (color6, anime.capitalize()),
+ Item(channel=item.channel, action=action, title="[%s]" % (anime.capitalize()),
url="",
number="0", thumbnail=item.thumbnail, fanart=item.fanart))
title = "%s - %s" % (number, song)
@@ -3190,14 +3179,14 @@ def items_mal(item):
title = "[F]"
else:
title = "[P]"
- title += " %s [COLOR %s][%s/%s][/COLOR] (%s)" % (
- d["anime_title"], color6, d["num_watched_episodes"], d["anime_num_episodes"], d["anime_media_type_string"])
+ title += typo(" %s [%s/%s] (%s)" % (
+ d["anime_title"], d["num_watched_episodes"], d["anime_num_episodes"], d["anime_media_type_string"]),'bold')
title = title.replace("\\", "")
contentTitle = d["anime_title"].replace("\\", "")
thumbnail = d["anime_image_path"].replace("\\", "").replace("r/96x136/", "").replace(".jpg", "l.jpg")
url = "https://myanimelist.net" + d["anime_url"].replace("\\", "")
if d["score"] != 0:
- title += " [COLOR %s]Punt:%s[/COLOR]" % (color4, d["score"])
+ title += typo(" Punt:%s" % (d["score"]),'color kod bold')
if title.count("(TV)") == 2:
title = title.replace("] (TV)", "]")
elif title.count("(Movie)") == 2:
@@ -3231,7 +3220,7 @@ def menu_mal(item):
title_estado = config.get_localized_string(70388)
estado = "1"
else:
- title_estado = config.get_localized_string(70389) % (color6, status[estado])
+ title_estado = typo(config.get_localized_string(70389) % (status[estado]), 'bold')
except:
title_estado = config.get_localized_string(70388)
@@ -3247,12 +3236,12 @@ def menu_mal(item):
for key, value in status.items():
if not value in title_estado:
itemlist.append(
- item.clone(title=config.get_localized_string(70391) % value, action="addlist_mal", value=key,
+ item.clone(title=typo(config.get_localized_string(70391) % value, 'bold'), action="addlist_mal", value=key,
estado=value))
for i in range(10, 0, -1):
if i != int(score):
- itemlist.append(item.clone(title=config.get_localized_string(70392) % (color6, i), action="addlist_mal",
+ itemlist.append(item.clone(title=typo(config.get_localized_string(70392) % (i), 'bold'), action="addlist_mal",
value=estado, estado=status[estado], score=i))
return itemlist