Merge pull request #24 from kodiondemand/master
add tmdb and tvdb as dependencies and fix autostart
This commit is contained in:
@@ -3,6 +3,8 @@
|
|||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.1.0"/>
|
<import addon="xbmc.python" version="2.1.0"/>
|
||||||
<import addon="script.module.libtorrent" optional="true"/>
|
<import addon="script.module.libtorrent" optional="true"/>
|
||||||
|
<import addon="metadata.themoviedb.org"/>
|
||||||
|
<import addon="metadata.tvdb.org"/>
|
||||||
</requires>
|
</requires>
|
||||||
<extension point="xbmc.python.pluginsource" library="default.py">
|
<extension point="xbmc.python.pluginsource" library="default.py">
|
||||||
<provides>video</provides>
|
<provides>video</provides>
|
||||||
|
|||||||
@@ -5526,7 +5526,7 @@ msgstr "avvio automatico di KOD al boot di Kodi"
|
|||||||
|
|
||||||
msgctxt "#70707"
|
msgctxt "#70707"
|
||||||
msgid "Enable"
|
msgid "Enable"
|
||||||
msgstr "Attivia"
|
msgstr "Attiva"
|
||||||
|
|
||||||
msgctxt "#70708"
|
msgctxt "#70708"
|
||||||
msgid "Disable"
|
msgid "Disable"
|
||||||
|
|||||||
+2
-1
@@ -9,6 +9,7 @@ from core import servertools
|
|||||||
from core.item import Item
|
from core.item import Item
|
||||||
from platformcode import config, logger
|
from platformcode import config, logger
|
||||||
from platformcode import platformtools
|
from platformcode import platformtools
|
||||||
|
import xbmcgui
|
||||||
|
|
||||||
CHANNELNAME = "setting"
|
CHANNELNAME = "setting"
|
||||||
AUTOSTART = config.is_autorun_enabled()
|
AUTOSTART = config.is_autorun_enabled()
|
||||||
@@ -90,7 +91,7 @@ def channel_config(item):
|
|||||||
item.config))
|
item.config))
|
||||||
|
|
||||||
|
|
||||||
def autostart():
|
def autostart(item): # item necessario launcher.py linea 265
|
||||||
if config.enable_disable_autorun(AUTOSTART):
|
if config.enable_disable_autorun(AUTOSTART):
|
||||||
xbmcgui.Dialog().ok(config.get_localized_string(20000), config.get_localized_string(70709))
|
xbmcgui.Dialog().ok(config.get_localized_string(20000), config.get_localized_string(70709))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user