Merge remote-tracking branch 'origin/master' into master

This commit is contained in:
marco
2020-09-22 20:44:30 +02:00
34 changed files with 1162 additions and 1136 deletions

View File

@@ -71,15 +71,16 @@ def newest(categoria):
except:
import sys
for line in sys.exc_info():
support.infoger.error("{0}".format(line))
logger..error("{0}".format(line))
return []
def search(item, text):
support.info(item.url, "search", text)
logger.info(item, "search", text)
if item.contentType == 'tvshow': item.url = host + '/serietv/'
else: item.url = host
try:
item.url = item.url + "/?s=" + text.replace(' ', '+')
item.url = item.url + "?s=" + text.replace(' ', '+')
return peliculas(item)
# Continua la ricerca in caso di errore
@@ -100,6 +101,7 @@ def peliculas(item):
# debug= True
if 'newest' in item.args:
if '/serietv/' not in item.url:
debug = True
pagination = ''
patronBlock = r'Ultimi 100 film [^:]+:(?P<block>.*?)<\/td>'
patron = r'<a href="?(?P<url>[^">]+)"?>(?P<title>[^<([]+)(?:\[(?P<lang>Sub-ITA|B/N|SUB-ITA)\])?\s*(?:\[(?P<quality>HD|SD|HD/3D)\])?\s*\((?P<year>[0-9]{4})\)<\/a>'

File diff suppressed because it is too large Load Diff

View File

@@ -121,6 +121,14 @@ def run(item=None):
else:
return keymaptools.set_key()
elif item.channel == "infoplus":
from platformcode import infoplus
return infoplus.Main(item)
elif item.channel == "shortcuts":
from platformcode import shortcuts
return getattr(shortcuts, item.action)(item)
elif item.action == "delete_key":
from platformcode import keymaptools
return keymaptools.delete_key()

View File

@@ -421,7 +421,7 @@ def set_context_commands(item, item_url, parent_item, **kwargs):
#if item.infoLabels['tmdb_id'] or item.infoLabels['imdb_id'] or item.infoLabels['tvdb_id'] or \
# (item.contentTitle and item.infoLabels["year"]) or item.contentSerieName:
if item.infoLabels['tmdb_id'] or item.infoLabels['imdb_id'] or item.infoLabels['tvdb_id']:
context_commands.append(("InfoPlus", "RunPlugin(%s?%s&%s)" % (sys.argv[0], item_url, 'channel=infoplus&action=start&from_channel=' + item.channel)))
context_commands.append(("InfoPlus", "RunPlugin(%s?%s&%s)" % (sys.argv[0], item_url, 'channel=infoplus&action=Main&from_channel=' + item.channel)))
# Go to the Main Menu (channel.mainlist)
if parent_item.channel not in ["news", "channelselector", "downloads"] and item.action != "mainlist":

View File

@@ -12,12 +12,12 @@ def context():
# pre-serialised
if config.get_setting('quick_menu'): context.append((config.get_localized_string(60360), 'RunPlugin(plugin://plugin.video.kod/?ewogICAgImFjdGlvbiI6ICJzaG9ydGN1dF9tZW51IiwgCiAgICAiY2hhbm5lbCI6ICJzaG9ydGN1dHMiLCAKICAgICJpbmZvTGFiZWxzIjoge30KfQ%3D%3D)'))
if config.get_setting('side_menu'): context.append((config.get_localized_string(70737), 'RunPlugin(plugin://plugin.video.kod/?ewogICAgImFjdGlvbiI6ICJzaWRlX21lbnUiLCAKICAgICJjaGFubmVsIjogInNob3J0Y3V0cyIsIAogICAgImluZm9MYWJlbHMiOiB7fQp9)'))
if config.get_setting('Side_menu'): context.append((config.get_localized_string(70737), 'RunPlugin(plugin://plugin.video.kod/?ewogICAgImFjdGlvbiI6ICJzaWRlX21lbnUiLCAKICAgICJjaGFubmVsIjogInNob3J0Y3V0cyIsIAogICAgImluZm9MYWJlbHMiOiB7fQp9)'))
if config.get_setting('kod_menu'): context.append((config.get_localized_string(60026), 'RunPlugin(plugin://plugin.video.kod/?ewogICAgImFjdGlvbiI6ICJzZXR0aW5nc19tZW51IiwgCiAgICAiY2hhbm5lbCI6ICJzaG9ydGN1dHMiLCAKICAgICJpbmZvTGFiZWxzIjoge30KfQ%3D%3D)'))
return context
def side_menu(item):
def Side_menu(item):
side_menu.open_menu(item)
def shortcut_menu(item):

View File

@@ -6082,6 +6082,10 @@ msgctxt "#70820"
msgid "No results on channel %s, would you like to try Global Search?"
msgstr ""
msgctxt "#70821"
msgid "Search results"
msgstr ""
# DNS start [ settings and declaration ]
msgctxt "#707401"
msgid "Enable DNS check alert"

View File

@@ -6083,6 +6083,10 @@ msgctxt "#70820"
msgid "No results on channel %s, would you like to try Global Search?"
msgstr "Nessun risultato sul canale %s, vuoi provare con la Ricerca Globale?"
msgctxt "#70821"
msgid "Search results"
msgstr "Risultati della ricerca"
# DNS start [ settings and declaration ]
msgctxt "#707401"
msgid "Enable DNS check alert"

View File

@@ -0,0 +1,266 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
<depth>0.52</depth>
<coordinates>
<left>0</left>
<top>0</top>
</coordinates>
<controls>
<!-- CLOSE BUTTON / BACKGROUND -->
<control type="button">
<left>0</left>
<top>0</top>
<width>100%</width>
<height>100%</height>
<texturefocus colordiffuse="FF232323">white.png</texturefocus>
<texturenofocus colordiffuse="FF232323">white.png</texturenofocus>
<animation effect="fade" time="200">WindowOpen</animation>
<animation effect="fade" time="200">WindowClose</animation>
<onclick>Action(close)</onclick>
</control>
<!-- GROUP CONTROLS -->
<control type="group">
<left>0</left>
<top>0</top>
<animation type="WindowOpen" reversible="false">
<effect type="slide" start="0,100" end="0,0" delay="160" time="160" />
<effect type="fade" delay="160" end="100" time="100" />
</animation>
<animation type="WindowClose" reversible="false">
<effect type="slide" start="0,0" end="0,100" delay="160" time="160" />
<effect type="fade" delay="160" start="100" end="0" time="100" />
</animation>
<!-- BACKGROUND -->
<control type="image" id='30000'>
<width>1280</width>
<height>720</height>
<texture colordiffuse="FF888888"></texture>
</control>
<!-- LOADING -->
<control type="image" id='30011'>
<top>310</top>
<left>590</left>
<width>100</width>
<height>100</height>
<texture>Infoplus/loading.png</texture>
<animation effect="rotate" center="640,360" start="0" end="-360" time="5000" loop="true" condition="Control.IsVisible(30011)">Conditional</animation>
</control>
<!-- PREVIOUS -->
<control type="button" id='30009'>
<left>0</left>
<bottom>0</bottom>
<width>1280</width>
<height>30</height>
<texturenofocus colordiffuse="00FFFFFF">white.png</texturenofocus>
<texturefocus colordiffuse="00FFFFFF">white.png</texturefocus>
<align>center</align>
</control>
<!-- NEXT -->
<control type="button" id='30010'>
<left>0</left>
<top>0</top>
<width>1280</width>
<height>30</height>
<texturenofocus colordiffuse="00FFFFFF">white.png</texturenofocus>
<texturefocus colordiffuse="00FFFFFF">white.png</texturefocus>
<align>center</align>
</control>
<control type="grouplist">
<top>60</top>
<orientation>vertical</orientation>
<defaultcontrol>30500</defaultcontrol>
<width>1280</width>
<height>600</height>
<onup>30007</onup>
<!-- RECOMMENDATIONS -->
<control type="wraplist" id="30500">
<width>1280</width>
<height>600</height>
<viewtype>wrap</viewtype>
<orientation>horizontal</orientation>
<scrolltime tween="sine" easing="out">300</scrolltime>
<itemlayout height="600" width="220">
<!-- Poster -->
<control type="image">
<bottom>0</bottom>
<left>0</left>
<width>200</width>
<height>300</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio>
</control>
</itemlayout>
<focusedlayout height="600" width="420">
<!-- Title -->
<control type="textbox">
<left>440</left>
<top>0</top>
<width>800</width>
<height>30</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>[B]$INFO[ListItem.Label] [COLOR FFAAAAAA]($INFO[ListItem.Property(year)])[/COLOR][/B] </label>
<align>left</align>
<aligny>center</aligny>
</control>
<!-- Tagline -->
<control type="textbox">
<left>440</left>
<top>40</top>
<width>800</width>
<height>30</height>
<font>font30</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(tagline)]</label>
<align>left</align>
</control>
<!-- Plot -->
<control type="textbox">
<left>440</left>
<top>80</top>
<width>800</width>
<height>180</height>
<font>font12</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(plot)]</label>
<align>left</align>
</control>
<!-- Poster -->
<control type="image">
<bottom>0</bottom>
<left>0</left>
<width>400</width>
<height>600</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio>
</control>
</focusedlayout>
</control>
<!-- CAST -->
<control type="wraplist" id="30501">
<width>1280</width>
<height>600</height>
<viewtype>wrap</viewtype>
<orientation>horizontal</orientation>
<scrolltime tween="sine" easing="out">300</scrolltime>
<itemlayout height="600" width="220">
<!-- Poster -->
<control type="image">
<bottom>0</bottom>
<left>0</left>
<width>200</width>
<height>300</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio>
</control>
</itemlayout>
<focusedlayout height="600" width="420">
<!-- Title -->
<control type="textbox">
<left>440</left>
<top>0</top>
<width>800</width>
<height>30</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>[B]$INFO[ListItem.Label][/B] </label>
<align>left</align>
<aligny>center</aligny>
</control>
<!-- Tagline -->
<control type="textbox">
<left>440</left>
<top>40</top>
<width>800</width>
<height>30</height>
<font>font30</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(job)]</label>
<align>left</align>
</control>
<!-- Plot -->
<control type="textbox">
<left>440</left>
<top>80</top>
<width>800</width>
<height>180</height>
<font>font13</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(bio)]</label>
<autoscroll delay="3000" time="2000" repeat="3000"></autoscroll>
<align>left</align>
</control>
<!-- Poster -->
<control type="image">
<bottom>0</bottom>
<left>0</left>
<width>400</width>
<height>600</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio>
</control>
</focusedlayout>
</control>
</control>
<control type="group">
<top>15</top>
<right>15</right>
<height>50</height>
<width>220</width>
<visible allowhiddenfocus="true">!Control.HasFocus(30501)</visible>
<control type="image">
<width>50</width>
<height>50</height>
<texture >Infoplus/tmdb.png</texture>
</control>
<control type="textbox" id="30006">
<left>60</left>
<width>30</width>
<height>50</height>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<font>font30_title</font>
<label></label>
<align>left</align>
<aligny>center</aligny>
</control>
<control type="button" id="30007">
<left>110</left>
<width>50</width>
<height>50</height>
<texturenofocus colordiffuse="AAFFFFFF">Infoplus/trailer.png</texturenofocus>
<texturefocus colordiffuse="FFFFFFFF">Infoplus/trailer.png</texturefocus>
<onup>30501</onup>
<ondown>30500</ondown>
<onleft>30008</onleft>
<onright>30008</onright>
</control>
<control type="button" id="30008">
<left>170</left>
<width>50</width>
<height>50</height>
<texturenofocus colordiffuse="AAFFFFFF">Infoplus/search.png</texturenofocus>
<texturefocus colordiffuse="FFFFFFFF">Infoplus/search.png</texturefocus>
<onup>30501</onup>
<ondown>30500</ondown>
<onleft>30007</onleft>
<onright>30007</onright>
</control>
</control>
</control> <!-- GROUP CONTROLS END -->
</controls>
</window>

View File

@@ -0,0 +1,165 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
<depth>0.52</depth>
<coordinates>
<left>0</left>
<top>0</top>
</coordinates>
<controls>
<!-- CLOSE BUTTON / BACKGROUND -->
<control type="button">
<left>0</left>
<top>0</top>
<width>100%</width>
<height>100%</height>
<texturefocus colordiffuse="FF232323">white.png</texturefocus>
<texturenofocus colordiffuse="FF232323">white.png</texturenofocus>
<animation effect="fade" time="200">WindowOpen</animation>
<animation effect="fade" time="200">WindowClose</animation>
<onclick>Action(close)</onclick>
</control>
<!-- GROUP CONTROLS -->
<control type="group">
<left>0</left>
<top>0</top>
<animation type="WindowOpen" reversible="false">
<effect type="slide" start="0,100" end="0,0" delay="160" time="160" />
<effect type="fade" delay="160" end="100" time="100" />
</animation>
<animation type="WindowClose" reversible="false">
<effect type="slide" start="0,0" end="0,100" delay="160" time="160" />
<effect type="fade" delay="160" start="100" end="0" time="100" />
</animation>
<!-- BACKGROUND -->
<control type="image" id='30000'>
<width>1280</width>
<height>720</height>
<texture colordiffuse="FF888888"/>
</control>
<!-- LOADING -->
<control type="image" id='30011'>
<top>310</top>
<left>590</left>
<width>100</width>
<height>100</height>
<texture>Infoplus/loading.png</texture>
<animation effect="rotate" center="640,360" start="0" end="-360" time="5000" loop="true" condition="Control.IsVisible(30011)">Conditional</animation>
</control>
<!-- TITLE -->
<control type="textbox" id='30001'>
<left>40</left>
<top>15</top>
<width>1000</width>
<height>30</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>[UPPERCASE]$ADDON[plugin.video.kod 70821][/UPPERCASE]</label>
<align>left</align>
<aligny>center</aligny>
</control>
<!-- SEARCH ITEM -->
<control type="fixedlist" id="30500">
<top>60</top>
<width>1280</width>
<height>600</height>
<onup>30012</onup>
<orientation>horizontal</orientation>
<scrolltime tween="sine" easing="out">300</scrolltime>
<itemlayout height="600" width="220">
<!-- Poster -->
<control type="image">
<bottom>0</bottom>
<left>0</left>
<width>200</width>
<height>300</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio>
</control>
</itemlayout>
<focusedlayout height="600" width="420">
<!-- Title -->
<control type="textbox">
<left>440</left>
<top>0</top>
<width>800</width>
<height>30</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>[B]$INFO[ListItem.Label] [COLOR FFAAAAAA]($INFO[ListItem.Property(year)])[/COLOR][/B] </label>
<align>left</align>
<aligny>center</aligny>
</control>
<!-- Tagline -->
<control type="textbox">
<left>440</left>
<top>40</top>
<width>800</width>
<height>30</height>
<font>font30</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(channel)]</label>
<align>left</align>
</control>
<!-- Plot -->
<control type="textbox">
<left>440</left>
<top>80</top>
<width>800</width>
<height>180</height>
<font>font12</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(plot)]</label>
<align>left</align>
</control>
<!-- Poster -->
<control type="image">
<bottom>0</bottom>
<left>0</left>
<width>400</width>
<height>600</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio>
</control>
</focusedlayout>
</control>
<control type="list" id="30012">
<top>15</top>
<right>15</right>
<height>50</height>
<width>140</width>
<align>right</align>
<ondown>30500</ondown>
<orientation>horizontal</orientation>
<itemlayout height="50" width="70">
<control type="image">
<width>50</width>
<height>50</height>
<texture colordiffuse="AAFFFFFF">$INFO[ListItem.Property(thumbnail)]</texture>
</control>
</itemlayout>
<focusedlayout height="50" width="70">
<control type="image">
<width>50</width>
<height>50</height>
<texture colordiffuse="FFFFFFFF">$INFO[ListItem.Property(thumbnail)]</texture>
<visible>Control.HasFocus(30012)</visible>
</control>
<control type="image">
<width>50</width>
<height>50</height>
<texture colordiffuse="AAFFFFFF">$INFO[ListItem.Property(thumbnail)]</texture>
<visible>!Control.HasFocus(30012)</visible>
</control>
</focusedlayout>
</control>
</control>
<!-- GROUP CONTROLS END -->
</controls>
</window>

View File

@@ -0,0 +1,166 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
<depth>0.52</depth>
<coordinates>
<left>0</left>
<top>0</top>
</coordinates>
<controls>
<!-- CLOSE BUTTON / BACKGROUND -->
<control type="button">
<left>0</left>
<top>0</top>
<width>100%</width>
<height>100%</height>
<texturefocus colordiffuse="FF232323">white.png</texturefocus>
<texturenofocus colordiffuse="FF232323">white.png</texturenofocus>
<animation effect="fade" time="200">WindowOpen</animation>
<animation effect="fade" time="200">WindowClose</animation>
<onclick>Action(close)</onclick>
</control>
<!-- GROUP CONTROLS -->
<control type="group">
<left>0</left>
<top>0</top>
<animation type="WindowOpen" reversible="false">
<effect type="slide" start="0,100" end="0,0" delay="160" time="160" />
<effect type="fade" delay="160" end="100" time="100" />
</animation>
<animation type="WindowClose" reversible="false">
<effect type="slide" start="0,0" end="0,100" delay="160" time="160" />
<effect type="fade" delay="160" start="100" end="0" time="100" />
</animation>
<!-- BACKGROUND -->
<control type="image" id='30000'>
<width>1280</width>
<height>720</height>
<texture colordiffuse="FF888888"/>
</control>
<!-- LOADING -->
<control type="image" id='30011'>
<top>310</top>
<left>590</left>
<width>100</width>
<height>100</height>
<texture>Infoplus/loading.png</texture>
<animation effect="rotate" center="640,360" start="0" end="-360" time="5000" loop="true" condition="Control.IsVisible(30011)">Conditional</animation>
</control>
<!-- TITLE -->
<control type="textbox" id='30001'>
<left>40</left>
<top>15</top>
<width>1000</width>
<height>30</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>[UPPERCASE]$ADDON[plugin.video.kod 70145][/UPPERCASE]</label>
<align>left</align>
<aligny>center</aligny>
</control>
<!-- SEARCH ITEM -->
<control type="fixedlist" id="30500">
<bottom>0</bottom>
<width>1280</width>
<height>400</height>
<orientation>horizontal</orientation>
<onup>30012</onup>
<scrolltime tween="sine" easing="out">300</scrolltime>
<itemlayout height="400" width="220">
<!-- Poster -->
<control type="image">
<bottom>0</bottom>
<left>0</left>
<width>200</width>
<height>200</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio>
</control>
</itemlayout>
<focusedlayout height="400" width="420">
<!-- Title -->
<control type="textbox">
<left>440</left>
<top>0</top>
<width>800</width>
<height>30</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>[B]$INFO[ListItem.Label] [COLOR FFAAAAAA]($INFO[ListItem.Property(server)])[/COLOR][/B] </label>
<align>left</align>
<aligny>center</aligny>
</control>
<!-- Tagline -->
<control type="textbox">
<left>440</left>
<top>40</top>
<width>800</width>
<height>30</height>
<font>font30</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(quality)]</label>
<align>left</align>
</control>
<!-- Plot -->
<control type="textbox">
<left>440</left>
<top>80</top>
<width>800</width>
<height>180</height>
<font>font12</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>$INFO[ListItem.Property(plot)]</label>
<align>left</align>
</control>
<!-- Poster -->
<control type="image">
<bottom>0</bottom>
<left>0</left>
<width>400</width>
<height>400</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio>
</control>
</focusedlayout>
</control>
<control type="list" id="30012">
<top>15</top>
<right>15</right>
<height>50</height>
<width>140</width>
<align>right</align>
<ondown>30500</ondown>
<orientation>horizontal</orientation>
<itemlayout height="50" width="70">
<control type="image">
<width>50</width>
<height>50</height>
<texture colordiffuse="AAFFFFFF">$INFO[ListItem.Property(thumbnail)]</texture>
</control>
</itemlayout>
<focusedlayout height="50" width="70">
<control type="image">
<width>50</width>
<height>50</height>
<texture colordiffuse="FFFFFFFF">$INFO[ListItem.Property(thumbnail)]</texture>
<visible>Control.HasFocus(30012)</visible>
</control>
<control type="image">
<width>50</width>
<height>50</height>
<texture colordiffuse="AAFFFFFF">$INFO[ListItem.Property(thumbnail)]</texture>
<visible>!Control.HasFocus(30012)</visible>
</control>
</focusedlayout>
</control>
</control>
<!-- GROUP CONTROLS END -->
</controls>
</window>

View File

@@ -1,89 +1,115 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<window>
<allowoverlays>false</allowoverlays>
<depth>0.52</depth>
<coordinates>
<left>0</left>
<top>0</top>
</coordinates>
<controls>
<control type="image" id="10">
<top>0</top>
<!-- CLOSE BUTTON / BACKGROUND -->
<control type="button">
<left>0</left>
<width>1280</width>
<height>720</height>
<texture colordiffuse="FF000000">white.png</texture>
<visible>Player.HasVideo</visible>
<animation effect="fade" start="0%" end="100%" time="200">VisibleChange</animation>
</control>
<control type="videowindow" id="2">
<top>0</top>
<width>100%</width>
<height>100%</height>
<texturefocus colordiffuse="FF232323">white.png</texturefocus>
<texturenofocus colordiffuse="FF232323">white.png</texturenofocus>
<animation effect="fade" time="200">WindowOpen</animation>
<animation effect="fade" time="200">WindowClose</animation>
<onclick>Action(close)</onclick>
</control>
<!-- GROUP CONTROLS -->
<control type="group">
<left>0</left>
<width>1280</width>
<height>720</height>
<visible>Player.HasVideo</visible>
<animation effect="fade" start="0%" end="100%" time="200">VisibleChange</animation>
</control>
<control type="image" id="10">
<top>260</top>
<left>540</left>
<width>200</width>
<height>200</height>
<texture>Infoplus/pause.png</texture>
<visible>Player.Paused</visible>
<animation effect="fade" start="0%" end="100%" time="200">VisibleChange</animation>
</control>
<control type="image" id="10">
<top>260</top>
<left>540</left>
<width>200</width>
<height>200</height>
<texture>Infoplus/rewind.png</texture>
<visible>Player.Rewinding</visible>
<animation effect="fade" start="0%" end="100%" time="200">VisibleChange</animation>
</control>
<control type="image" id="10">
<top>260</top>
<left>540</left>
<width>200</width>
<height>200</height>
<texture>Infoplus/forward.png</texture>
<visible>Player.Forwarding</visible>
<animation effect="fade" start="0%" end="100%" time="200">VisibleChange</animation>
</control>
<control type="image" id="10">
<top>260</top>
<left>540</left>
<width>200</width>
<height>200</height>
<texture>Infoplus/play.png</texture>
<visible>Player.Play</visible>
<animation effect="fade" start="0%" end="100%" time="200">VisibleChange</animation>
</control>
<control type="button" id="4">
<top>0</top>
<left>0</left>
<width>426</width>
<height>720</height>
<visible>Player.HasVideo</visible>
<onclick>PlayerControl(Rewind)</onclick>
<texturefocus></texturefocus>
<texturenofocus></texturenofocus>
</control>
<control type="button" id="5">
<top>0</top>
<left>426</left>
<width>426</width>
<height>720</height>
<visible>Player.HasVideo</visible>
<onclick>PlayerControl(Play)</onclick>
<texturefocus></texturefocus>
<texturenofocus></texturenofocus>
</control>
<control type="button" id="6">
<top>0</top>
<left>853</left>
<width>426</width>
<height>720</height>
<visible>Player.HasVideo</visible>
<onclick>PlayerControl(Forward)</onclick>
<texturefocus></texturefocus>
<texturenofocus></texturenofocus>
<animation type="WindowOpen" reversible="false">
<effect type="slide" start="0,100" end="0,0" delay="160" time="160" />
<effect type="fade" delay="160" end="100" time="100" />
</animation>
<animation type="WindowClose" reversible="false">
<effect type="slide" start="0,0" end="0,100" delay="160" time="160" />
<effect type="fade" delay="160" start="100" end="0" time="100" />
</animation>
<!-- BACKGROUND -->
<control type="image" id='30000'>
<width>1280</width>
<height>720</height>
<texture colordiffuse="FF888888"/>
</control>
<!-- COUNT -->
<control type="textbox" id='30001'>
<right>40</right>
<bottom>40</bottom>
<width>50</width>
<height>30</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label></label>
<align>right</align>
<aligny>center</aligny>
</control>
<!-- TRAILERS -->
<control type="wraplist" id="30500">
<top>-177</top>
<width>1280</width>
<height>897</height>
<viewtype>wrap</viewtype>
<orientation>vertical</orientation>
<focusposition>1</focusposition>
<scrolltime tween="sine" easing="out">300</scrolltime>
<itemlayout height="358" width="600">
<!-- Poster -->
<control type="image">
<top>10</top>
<left>0</left>
<width>600</width>
<height>338</height>
<texture colordiffuse="FF888888">$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio>
</control>
</itemlayout>
<focusedlayout height="358" width="600">
<!-- Title -->
<control type="textbox">
<left>640</left>
<top>164</top>
<width>600</width>
<height>30</height>
<font>font30_title</font>
<textcolor>FFFFFFFF</textcolor>
<shadowcolor>00000000</shadowcolor>
<label>[B]$INFO[ListItem.Label][/B]</label>
<align>left</align>
<aligny>center</aligny>
</control>
<!-- Poster -->
<control type="image">
<top>10</top>
<left>0</left>
<width>600</width>
<height>338</height>
<texture>$INFO[ListItem.Property(thumbnail)]</texture>
<aspectratio>scale</aspectratio>
</control>
</focusedlayout>
</control>
<!-- <control type="button" id="30008">
<top>15</top>
<right>15</right>
<height>50</height>
<texturenofocus colordiffuse="AAFFFFFF">Infoplus/search.png</texturenofocus>
<texturefocus colordiffuse="FFFFFFFF">Infoplus/search.png</texturefocus>
<onup>30501</onup>
<ondown>30500</ondown>
<onleft>30007</onleft>
<onright>30007</onright>
</control> -->
</control>
<!-- GROUP CONTROLS END -->
</controls>
</window>
</window>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 698 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1021 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 991 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

View File

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 B

View File

@@ -606,7 +606,7 @@ def download_from_url(url, item):
update_json(item.path, {"downloadUrl": d.download_url, "downloadStatus": STATUS_CODES.downloading, "downloadSize": d.size[0],
"downloadProgress": d.progress, "downloadCompleted": d.downloaded[0], "downloadFilename": file})
d.start_diainfo(config.get_localized_string(60332))
d.start_dialog(config.get_localized_string(60332))
# Download stopped. We get the state:
# Download failed