Episodio successivo Aggiunta Modalità Compatta
@@ -5733,6 +5733,10 @@ msgctxt "#70753"
|
||||
msgid "Playback"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#70754"
|
||||
msgid "Compact mode"
|
||||
msgstr ""
|
||||
|
||||
# DNS start [ settings and declaration ]
|
||||
msgctxt "#707401"
|
||||
msgid "Enable DNS Check Alert"
|
||||
|
||||
@@ -5737,6 +5737,10 @@ msgctxt "#70753"
|
||||
msgid "Playback"
|
||||
msgstr "Riproduzione"
|
||||
|
||||
msgctxt "#70754"
|
||||
msgid "Compact mode"
|
||||
msgstr "Modalità compatta"
|
||||
|
||||
# DNS start [ settings and declaration ]
|
||||
msgctxt "#707401"
|
||||
msgid "Enable DNS Check Alert"
|
||||
|
||||
@@ -59,7 +59,8 @@
|
||||
<setting id="videolibrary_kodi" type="bool" label="70120" enable="lt(-1,2)+eq(0,false)" default="false"/>
|
||||
<setting id="videolibrary_max_quality" type="bool" label="70729" default="false" visible="true"/>
|
||||
<setting id="next_ep" type="enum" label="70746" lvalues="70752|70747|70748" default="0"/>
|
||||
<setting id="next_ep_seconds" type="enum" values="20|30|40|50|60" label="70749" default="2" visible="!eq(-1,0)"/>
|
||||
<setting id="next_ep_type" type="bool" label="70754" default="false" visible="eq(-1,2)"/>
|
||||
<setting id="next_ep_seconds" type="enum" values="20|30|40|50|60" label="70749" default="2" visible="!eq(-2,0)"/>
|
||||
</category>
|
||||
|
||||
|
||||
|
||||
@@ -17,17 +17,17 @@
|
||||
<right>0</right>
|
||||
<top>10</top>
|
||||
<height>50</height>
|
||||
<width>45%</width>
|
||||
<width>100%</width>
|
||||
<!-- Background -->
|
||||
<control type="image">
|
||||
<top>0</top>
|
||||
<width>100%</width>
|
||||
<height>50</height>
|
||||
<texture colordiffuse="88232323">Shortcut/dialog-bg-solid.png</texture>
|
||||
<texture colordiffuse="00111111">NextDialog/background-diffuse.png</texture>
|
||||
</control>
|
||||
<control type="group">
|
||||
<top>0</top>
|
||||
<left>0</left>
|
||||
<right>0</right>
|
||||
<width>100%</width>
|
||||
<!-- buttons -->
|
||||
<control type="button" id="3012">
|
||||
@@ -39,26 +39,8 @@
|
||||
<control type="grouplist" id="20">
|
||||
<orientation>horizontal</orientation>
|
||||
<height>50</height>
|
||||
<itemgap>10</itemgap>
|
||||
<align>left</align>
|
||||
<control type="button" id="10">
|
||||
<label>$ADDON[plugin.video.kod 70750]</label>
|
||||
<onclick>SendClick(3012)</onclick>
|
||||
<visible>Integer.IsGreater(Player.TimeRemaining,59)</visible>
|
||||
<height>50</height>
|
||||
<width min="50">auto</width>
|
||||
<font>font30_title</font>
|
||||
<textoffsetx>30</textoffsetx>
|
||||
<textcolor>80FFFFFF</textcolor>
|
||||
<focusedcolor>FFFFFFFF</focusedcolor>
|
||||
<selectedcolor>80FFFFFF</selectedcolor>
|
||||
<shadowcolor>22000000</shadowcolor>
|
||||
<aligny>center</aligny>
|
||||
<align>center</align>
|
||||
<texturefocus border="10" colordiffuse="0065B3DA">Shortcut/button-fo.png</texturefocus>
|
||||
<texturenofocus border="10" colordiffuse="0065B3DA">Shortcut/button-fo.png</texturenofocus>
|
||||
<pulseonselect>no</pulseonselect>
|
||||
</control>
|
||||
<itemgap>0</itemgap>
|
||||
<align>right</align>
|
||||
<control type="button" id="11">
|
||||
<label>$ADDON[plugin.video.kod 70750] $INFO[Player.TimeRemaining(ss),,] $ADDON[plugin.video.kod 70751]</label>
|
||||
<onclick>SendClick(3012)</onclick>
|
||||
@@ -66,15 +48,15 @@
|
||||
<height>50</height>
|
||||
<width min="50">auto</width>
|
||||
<font>font30_title</font>
|
||||
<textoffsetx>30</textoffsetx>
|
||||
<textoffsetx>20</textoffsetx>
|
||||
<textcolor>80FFFFFF</textcolor>
|
||||
<focusedcolor>FFFFFFFF</focusedcolor>
|
||||
<selectedcolor>80FFFFFF</selectedcolor>
|
||||
<shadowcolor>22000000</shadowcolor>
|
||||
<aligny>center</aligny>
|
||||
<align>center</align>
|
||||
<texturefocus border="10" colordiffuse="0065B3DA">Shortcut/button-fo.png</texturefocus>
|
||||
<texturenofocus border="10" colordiffuse="0065B3DA">Shortcut/button-fo.png</texturenofocus>
|
||||
<texturefocus border="10" colordiffuse="88232323">NextDialog/background-diffuse.png</texturefocus>
|
||||
<texturenofocus border="10" colordiffuse="88232323">NextDialog/background-diffuse.png</texturenofocus>
|
||||
<pulseonselect>no</pulseonselect>
|
||||
</control>
|
||||
<control type="button" id="3013">
|
||||
@@ -82,17 +64,23 @@
|
||||
<height>50</height>
|
||||
<width min="50">auto</width>
|
||||
<font>font30_title</font>
|
||||
<textoffsetx>30</textoffsetx>
|
||||
<textoffsetx>20</textoffsetx>
|
||||
<textcolor>80FFFFFF</textcolor>
|
||||
<focusedcolor>FFFFFFFF</focusedcolor>
|
||||
<selectedcolor>80FFFFFF</selectedcolor>
|
||||
<shadowcolor>22000000</shadowcolor>
|
||||
<aligny>center</aligny>
|
||||
<align>center</align>
|
||||
<texturefocus border="10" colordiffuse="0065B3DA">Shortcut/button-fo.png</texturefocus>
|
||||
<texturenofocus border="10" colordiffuse="0065B3DA">Shortcut/button-fo.png</texturenofocus>
|
||||
<texturefocus border="10" colordiffuse="88232323">NextDialog/background-diffuse.png</texturefocus>
|
||||
<texturenofocus border="10" colordiffuse="88232323">NextDialog/background-diffuse.png</texturenofocus>
|
||||
<pulseonselect>no</pulseonselect>
|
||||
</control>
|
||||
<control type="image">
|
||||
<top>0</top>
|
||||
<width>30</width>
|
||||
<height>50</height>
|
||||
<texture colordiffuse="88232323">NextDialog/background-diffuse.png</texture>
|
||||
</control>
|
||||
</control>
|
||||
</control>
|
||||
</control>
|
||||
|
||||
89
resources/skins/Default/720p/NextDialogCompact.xml
Normal file
@@ -0,0 +1,89 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<window>
|
||||
<defaultcontrol always="true">20</defaultcontrol>
|
||||
<onload>Dialog.Close(fullscreeninfo,true)</onload>
|
||||
<onload>Dialog.Close(videoosd,true)</onload>
|
||||
<controls>
|
||||
<control type="group">
|
||||
<animation type="WindowOpen" reversible="false">
|
||||
<effect type="fade" start="0" end="100" time="600" />
|
||||
<effect type="slide" start="115,0" end="0,0" time="600" />
|
||||
</animation>
|
||||
<animation type="WindowClose" reversible="false">
|
||||
<effect type="fade" start="100" end="0" time="400" />
|
||||
<effect type="slide" start="0,0" end="115,0" time="400" />
|
||||
</animation>
|
||||
<control type="group">
|
||||
<right>0</right>
|
||||
<top>10</top>
|
||||
<height>50</height>
|
||||
<width>100%</width>
|
||||
<!-- Background -->
|
||||
<control type="image">
|
||||
<top>0</top>
|
||||
<width>100%</width>
|
||||
<height>50</height>
|
||||
<!-- <texture colordiffuse="00111111">NextDialog/button-bg.png</texture> -->
|
||||
</control>
|
||||
<control type="group">
|
||||
<top>0</top>
|
||||
<right>0</right>
|
||||
<width>100%</width>
|
||||
<!-- buttons -->
|
||||
<control type="button" id="3012">
|
||||
<left>-1000</left>
|
||||
<top>-1000</top>
|
||||
<height>1</height>
|
||||
<width>1</width>
|
||||
</control>
|
||||
<control type="grouplist" id="20">
|
||||
<orientation>horizontal</orientation>
|
||||
<height>50</height>
|
||||
<itemgap>0</itemgap>
|
||||
<align>right</align>
|
||||
<control type="button" id="11">
|
||||
<label>$INFO[Player.TimeRemaining(ss),,]</label>
|
||||
<onclick>SendClick(3012)</onclick>
|
||||
<visible>!Integer.IsGreater(Player.TimeRemaining,59)</visible>
|
||||
<height>50</height>
|
||||
<width>70</width>
|
||||
<font>font30_title</font>
|
||||
<textoffsetx>15</textoffsetx>
|
||||
<textcolor>80FFFFFF</textcolor>
|
||||
<focusedcolor>FFFFFFFF</focusedcolor>
|
||||
<selectedcolor>80FFFFFF</selectedcolor>
|
||||
<shadowcolor>22000000</shadowcolor>
|
||||
<aligny>center</aligny>
|
||||
<align>left</align>
|
||||
<texturefocus border="10">NextDialog/play-fo.png</texturefocus>
|
||||
<texturenofocus border="10">NextDialog/play-nf.png</texturenofocus>
|
||||
<pulseonselect>no</pulseonselect>
|
||||
</control>
|
||||
<control type="button" id="3013">
|
||||
<label></label>
|
||||
<height>50</height>
|
||||
<width>50</width>
|
||||
<font>font30_title</font>
|
||||
<textoffsetx>30</textoffsetx>
|
||||
<textcolor>80FFFFFF</textcolor>
|
||||
<focusedcolor>FFFFFFFF</focusedcolor>
|
||||
<selectedcolor>80FFFFFF</selectedcolor>
|
||||
<shadowcolor>22000000</shadowcolor>
|
||||
<aligny>center</aligny>
|
||||
<align>center</align>
|
||||
<texturefocus border="10">NextDialog/close-fo.png</texturefocus>
|
||||
<texturenofocus border="10">NextDialog/close-nf.png</texturenofocus>
|
||||
<pulseonselect>no</pulseonselect>
|
||||
</control>
|
||||
<control type="image">
|
||||
<top>0</top>
|
||||
<width>30</width>
|
||||
<height>50</height>
|
||||
<texture>NextDialog/background.png</texture>
|
||||
</control>
|
||||
</control>
|
||||
</control>
|
||||
</control>
|
||||
</control>
|
||||
</controls>
|
||||
</window>
|
||||
BIN
resources/skins/Default/media/NextDialog/background-diffuse.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
resources/skins/Default/media/NextDialog/background.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
resources/skins/Default/media/NextDialog/close-fo.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
resources/skins/Default/media/NextDialog/close-nf.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
resources/skins/Default/media/NextDialog/play-fo.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
resources/skins/Default/media/NextDialog/play-nf.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
resources/skins/Default/media/Shortcut - Copia/close.png
Normal file
|
After Width: | Height: | Size: 874 B |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
BIN
resources/skins/Default/media/Shortcut - Copia/logo.png
Normal file
|
After Width: | Height: | Size: 838 B |
BIN
resources/skins/Default/media/Shortcut - Copia/white.png
Normal file
|
After Width: | Height: | Size: 167 B |
BIN
resources/skins/Default/media/Shortcut - Copia/white70.png
Normal file
|
After Width: | Height: | Size: 177 B |
@@ -7,6 +7,7 @@ from core import jsontools, filetools
|
||||
from lib.concurrent import futures
|
||||
|
||||
PLAYER_STOP = 13
|
||||
ND = 'NextDialogCompact.xml' if config.get_setting('next_ep_type') else 'NextDialog.xml'
|
||||
|
||||
def check(item):
|
||||
return True if config.get_setting('next_ep') > 0 and item.contentType != 'movie' else False
|
||||
@@ -104,7 +105,7 @@ def next_ep(item):
|
||||
global ITEM
|
||||
ITEM = item
|
||||
|
||||
nextDialog = NextDialog('NextDialog.xml', config.get_runtime_path())
|
||||
nextDialog = NextDialog(ND, config.get_runtime_path())
|
||||
nextDialog.show()
|
||||
while platformtools.is_playing() and not nextDialog.is_still_watching():
|
||||
xbmc.sleep(100)
|
||||
|
||||