Episodio \d+', -1)
+ url_serie = scrapertoolsV2.find_single_match(data, r'')
+ goseries = support.typo("Vai alla Serie:", ' bold')
+ series = support.typo(item.contentSerieName, ' bold color kod')
- return locals()
-
-# ================================================================================================================
+ itemlist = support.server(item, data=url_video)
+
+ itemlist.append(
+ Item(channel=item.channel,
+ title=goseries + series,
+ fulltitle=item.fulltitle,
+ show=item.show,
+ contentType='tvshow',
+ contentSerieName=item.contentSerieName,
+ url=url_serie,
+ action='episodios',
+ contentTitle=item.contentSerieName,
+ plot = goseries + series + "con tutte le puntate",
+ ))
+
+ #support.regexDbg(item, patronBlock, headers)
+ return itemlist
diff --git a/channels/toonitalia.json b/channels/toonitalia.json
index 651d88c9..b62b658b 100644
--- a/channels/toonitalia.json
+++ b/channels/toonitalia.json
@@ -6,8 +6,8 @@
"adult": false,
"thumbnail": "toonitalia.png",
"banner": "toonitalia.png",
- "categories": ["tvshow", "movie", "vos", "anime"],
- "not_active":["include_in_newest_peliculas"],
- "default_off":["include_in_newest"],
+ "categories": ["anime","vos"],
+ "not_active":["include_in_newest_peliculas", "include_in_newest_series"],
+ "default_off":["include_in_newest"],
"settings": []
-}
\ No newline at end of file
+}
diff --git a/channels/toonitalia.py b/channels/toonitalia.py
index 693861cc..41303113 100644
--- a/channels/toonitalia.py
+++ b/channels/toonitalia.py
@@ -48,10 +48,11 @@ def newest(categoria):
support.log(categoria)
item = support.Item()
try:
- item.contentType = 'tvshow'
- item.url= host
- item.args= 'new'
- return peliculas(item)
+ if categoria == 'anime':
+ item.contentType = 'tvshow'
+ item.url= host
+ item.args= 'new'
+ return peliculas(item)
# Continua la ricerca in caso di errore
except:
import sys
diff --git a/specials/news.py b/specials/news.py
index 10f7b68f..38ecb05c 100644
--- a/specials/news.py
+++ b/specials/news.py
@@ -392,7 +392,7 @@ def get_newest(channel_id, categoria):
def get_title(item):
- support.log("ITEM NEWEST ->", item)
+ #support.log("ITEM NEWEST ->", item)
# item.contentSerieName c'è anche se è un film
if item.contentSerieName and item.contentType != 'movie': # Si es una serie
title = item.contentSerieName
@@ -671,7 +671,7 @@ def cb_custom_button(item, dict_values):
dict_values[v] = not value
if config.set_setting("custom_button_value_news", not value, item.channel) == True:
- return {"label": "Ninguno"}
+ return {"label": config.get_localized_string(59992)}
else:
- return {"label": "Todos"}
+ return {"label": config.get_localized_string(59991)}