Ricerca Globale:

- Aggiunto "Aggiungi ai preferiti"
 - Risultati Semitrasparenti se non selezionati
This commit is contained in:
Alhaziel01
2020-12-02 16:20:53 +01:00
parent d2506cb078
commit 9a37482b5e
3 changed files with 19 additions and 4 deletions

View File

@@ -201,6 +201,7 @@ def play(item):
support.info()
if not item.urls: urls = item.url
else: urls = item.urls
data = ''
for url in urls:
new_url = support.httptools.downloadpage(url, allow_redirects=True).url
if '.mpd' in new_url:

View File

@@ -582,9 +582,10 @@ class SearchWindow(xbmcgui.WindowXML):
pos = self.RESULTS.getSelectedPosition()
name = self.CHANNELS.getSelectedItem().getLabel()
item = self.results[name][0][pos]
context = [config.get_localized_string(70739), config.get_localized_string(70557), config.get_localized_string(60359)]
context = [config.get_localized_string(70739), config.get_localized_string(70557), config.get_localized_string(30155), config.get_localized_string(60359)]
context_commands = ["RunPlugin(%s?%s)" % (sys.argv[0], 'action=open_browser&url=' + item.url),
"RunPlugin(%s?%s&%s)" % (sys.argv[0], item.tourl(), 'channel=kodfavorites&action=addFavourite&from_channel=' + item.channel + '&from_action=' + item.action),
"RunPlugin(%s?%s&%s)" % (sys.argv[0], item.tourl(), 'channel=favorites&action=addFavourite&from_channel=' + item.channel + '&from_action=' + item.action),
"RunPlugin(%s?%s)" % (sys.argv[0], 'channel=trailertools&action=buscartrailer&contextual=True&search_title=' + item.contentTitle if item.contentTitle else item.fulltitle)]
if item.contentType == 'movie':
context += [config.get_localized_string(60353), config.get_localized_string(60354)]

View File

@@ -117,6 +117,17 @@
<orientation>horizontal</orientation>
<scrolltime tween="cubic" easing="out">300</scrolltime>
<itemlayout height="570" width="180">
<control type="image">
<description>Item Poster</description>
<top>300</top>
<left>0</left>
<width>180</width>
<height>270</height>
<texture colordiffuse="AAFFFFFF">$INFO[ListItem.Property(thumb)]</texture>
<visible>!Control.HasFocus(102)</visible>
<bordersize>10</bordersize>
<aspectratio>scale</aspectratio>
</control>
<control type="image">
<description>Item Poster</description>
<top>300</top>
@@ -124,6 +135,7 @@
<width>180</width>
<height>270</height>
<texture>$INFO[ListItem.Property(thumb)]</texture>
<visible>Control.HasFocus(102)</visible>
<bordersize>10</bordersize>
<aspectratio>scale</aspectratio>
</control>
@@ -144,9 +156,9 @@
<left>0</left>
<width>380</width>
<height>570</height>
<texture colordiffuse="FF0082C2">white.png</texture>
<visible>Control.HasFocus(102)</visible>
<bordersize>6</bordersize>
<texture colordiffuse="AAFFFFFF">$INFO[ListItem.Property(thumb)]</texture>
<visible>!Control.HasFocus(102)</visible>
<bordersize>10</bordersize>
<aspectratio>scale</aspectratio>
</control>
<control type="image">
@@ -156,6 +168,7 @@
<width>380</width>
<height>570</height>
<texture>$INFO[ListItem.Property(thumb)]</texture>
<visible>Control.HasFocus(102)</visible>
<bordersize>10</bordersize>
<aspectratio>scale</aspectratio>
</control>