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