Fix Ricerca Oggi in TV
This commit is contained in:
+14
-6
@@ -102,10 +102,12 @@ def now_on_misc_film(item):
|
|||||||
infoLabels['title'] = "movie"
|
infoLabels['title'] = "movie"
|
||||||
itemlist.append(
|
itemlist.append(
|
||||||
Item(channel=item.channel,
|
Item(channel=item.channel,
|
||||||
action="do_search",
|
action="new_search",
|
||||||
extra=urllib.quote_plus(scrapedtitle) + '{}' + 'movie',
|
extra=urllib.quote_plus(scrapedtitle) + '{}' + 'movie',
|
||||||
title="[B]" + scrapedtitle + "[/B] - " + scrapedchannel,
|
title="[B]" + scrapedtitle + "[/B] - " + scrapedchannel,
|
||||||
fulltitle=scrapedtitle,
|
fulltitle=scrapedtitle,
|
||||||
|
mode='all',
|
||||||
|
search_text=scrapedtitle,
|
||||||
url=scrapedurl,
|
url=scrapedurl,
|
||||||
thumbnail=scrapedthumbnail.replace("?width=320", "?width=640"),
|
thumbnail=scrapedthumbnail.replace("?width=320", "?width=640"),
|
||||||
contentTitle=scrapedtitle,
|
contentTitle=scrapedtitle,
|
||||||
@@ -135,10 +137,12 @@ def now_on_misc(item):
|
|||||||
infoLabels['tvshowtitle'] = scrapedtitle
|
infoLabels['tvshowtitle'] = scrapedtitle
|
||||||
itemlist.append(
|
itemlist.append(
|
||||||
Item(channel=item.channel,
|
Item(channel=item.channel,
|
||||||
action="do_search",
|
action="new_search",
|
||||||
extra=urllib.quote_plus(scrapedtitle) + '{}' + 'tvshow',
|
extra=urllib.quote_plus(scrapedtitle) + '{}' + 'tvshow',
|
||||||
title="[B]" + scrapedtitle + "[/B] - " + scrapedchannel,
|
title="[B]" + scrapedtitle + "[/B] - " + scrapedchannel,
|
||||||
fulltitle=scrapedtitle,
|
fulltitle=scrapedtitle,
|
||||||
|
mode='all',
|
||||||
|
search_text=scrapedtitle,
|
||||||
url=scrapedurl,
|
url=scrapedurl,
|
||||||
thumbnail=scrapedthumbnail.replace("?width=320", "?width=640"),
|
thumbnail=scrapedthumbnail.replace("?width=320", "?width=640"),
|
||||||
contentTitle=scrapedtitle,
|
contentTitle=scrapedtitle,
|
||||||
@@ -167,11 +171,13 @@ def now_on_tv(item):
|
|||||||
infoLabels["year"] = scrapedyear
|
infoLabels["year"] = scrapedyear
|
||||||
itemlist.append(
|
itemlist.append(
|
||||||
Item(channel=item.channel,
|
Item(channel=item.channel,
|
||||||
action="do_search",
|
action="new_search",
|
||||||
extra=urllib.quote_plus(scrapedtitle) + '{}' + 'movie',
|
extra=urllib.quote_plus(scrapedtitle) + '{}' + 'movie',
|
||||||
title="[B]" + scrapedtitle + "[/B] - " + scrapedchannel + " - " + scrapedduration,
|
title="[B]" + scrapedtitle + "[/B] - " + scrapedchannel + " - " + scrapedduration,
|
||||||
fulltitle="[B]" + scrapedtitle + "[/B] - " + scrapedchannel+ " - " + scrapedduration,
|
fulltitle="[B]" + scrapedtitle + "[/B] - " + scrapedchannel+ " - " + scrapedduration,
|
||||||
url=scrapedurl,
|
url=scrapedurl,
|
||||||
|
mode='all',
|
||||||
|
search_text=scrapedtitle,
|
||||||
thumbnail=scrapedthumbnail.replace("?width=240", "?width=480"),
|
thumbnail=scrapedthumbnail.replace("?width=240", "?width=480"),
|
||||||
contentTitle=scrapedtitle,
|
contentTitle=scrapedtitle,
|
||||||
contentType='movie',
|
contentType='movie',
|
||||||
@@ -199,11 +205,13 @@ def primafila(item):
|
|||||||
infoLabels["year"] = scrapedyear
|
infoLabels["year"] = scrapedyear
|
||||||
itemlist.append(
|
itemlist.append(
|
||||||
Item(channel=item.channel,
|
Item(channel=item.channel,
|
||||||
action="do_search",
|
action="new_search",
|
||||||
extra=urllib.quote_plus(scrapedtitle) + '{}' + 'movie',
|
extra=urllib.quote_plus(scrapedtitle) + '{}' + 'movie',
|
||||||
title=scrapedtitle,
|
title=scrapedtitle,
|
||||||
fulltitle=scrapedtitle,
|
fulltitle=scrapedtitle,
|
||||||
url=scrapedurl,
|
url=scrapedurl,
|
||||||
|
mode='all',
|
||||||
|
search_text=scrapedtitle,
|
||||||
thumbnail=scrapedthumbnail.replace("?width=240", "?width=480"),
|
thumbnail=scrapedthumbnail.replace("?width=240", "?width=480"),
|
||||||
contentTitle=scrapedtitle,
|
contentTitle=scrapedtitle,
|
||||||
contentType='movie',
|
contentType='movie',
|
||||||
@@ -214,6 +222,6 @@ def primafila(item):
|
|||||||
|
|
||||||
return itemlist
|
return itemlist
|
||||||
|
|
||||||
def do_search(item):
|
def new_search(item):
|
||||||
from specials import search
|
from specials import search
|
||||||
return search.do_search(item)
|
return search.new_search(item)
|
||||||
|
|||||||
Reference in New Issue
Block a user