Revert config.py (rimosso library_move) + aggiornato settings.xml

This commit is contained in:
axlt2002
2020-04-15 16:04:59 +02:00
parent f14b3edfe0
commit 3d07cd9a69
4 changed files with 10 additions and 24 deletions

View File

@@ -247,12 +247,6 @@ def open_settings():
elif settings_pre.get("videolibrary_kodi", None) and not settings_post.get("videolibrary_kodi", None):
xbmc_videolibrary.clean(get_setting('videolibrarypath'))
if not settings_pre.get("library_move", None) and settings_post.get("library_move", None):
if settings_post.get("library_move", None) and not get_setting("videolibrary_kodi"):
from platformcode import platformtools
platformtools.dialog_ok(get_localized_string(20000), get_localized_string(80040))
set_setting("library_move", False)
def get_setting(name, channel="", server="", default=None):
"""

View File

@@ -80,7 +80,7 @@ msgid "Download path*"
msgstr ""
msgctxt "#30018"
msgid "Download list path*"
msgid "Download list path"
msgstr ""
msgctxt "#30019"
@@ -3713,7 +3713,7 @@ msgid "Add completed downloads to the video library "
msgstr ""
msgctxt "#70231"
msgid "Move downloaded files to the video library*"
msgid "Move downloaded files to the video library"
msgstr ""
msgctxt "#70232"
@@ -6219,8 +6219,4 @@ msgstr ""
msgctxt "#80039"
msgid "The video library has been deleted"
msgstr ""
msgctxt "#80040"
msgid "In order to watch the downloaded files that have been moved to the video library, you have first to enable the option to add KoD contents to Kodi video library"
msgstr ""

View File

@@ -80,8 +80,8 @@ msgid "Download path*"
msgstr "Percorso download*"
msgctxt "#30018"
msgid "Download list path*"
msgstr "Percorso lista downloads*"
msgid "Download list path"
msgstr "Percorso lista downloads"
msgctxt "#30019"
msgid "Channels language"
@@ -3712,8 +3712,8 @@ msgid "Add completed downloads to the video library "
msgstr "Aggiungi download completi alla videoteca"
msgctxt "#70231"
msgid "Move downloaded files to the video library*"
msgstr "Sposta i file scaricati nella videoteca*"
msgid "Move downloaded files to the video library"
msgstr "Sposta file scaricati nella videoteca"
msgctxt "#70232"
msgid "View downloaded files"
@@ -6219,8 +6219,4 @@ msgstr "Eliminazione videoteca..."
msgctxt "#80039"
msgid "The video library has been deleted"
msgstr "La videoteca è stata eliminata"
msgctxt "#80040"
msgid "In order to watch the downloaded files that have been moved to the video library, you have first to enable the option to add KoD contents to Kodi video library"
msgstr "Per guardare i file scaricati che sono stati spostati nella videoteca, devi prima abilitare l'opzione per aggiungere la videoteca di KoD alla libreria di Kodi"
msgstr "La videoteca è stata eliminata"

View File

@@ -94,11 +94,11 @@
<category label="30153">
<setting id="downloadenabled" type="bool" label="70689" default="false"/>
<setting id="downloadpath" type="folder" label="30017" visible="eq(-1,true)" default="special://profile/addon_data/plugin.video.kod/downloads/" option="writeable"/>
<setting id="downloadlistpath" type="folder" label="30018" visible="eq(-2,true)" default="special://profile/addon_data/plugin.video.kod/downloads/list/" option="writeable"/>
<setting id="settings_kod1" type="action" label="70789" action="" visible="eq(-2,true)"/>
<setting id="downloadlistpath" type="folder" label="30018" visible="eq(-3,true)" default="special://profile/addon_data/plugin.video.kod/downloads/list/" option="writeable"/>
<!-- <setting id="library_add" type="bool" label="70230" default="false"/>
<setting id="library_move" type="bool" label="70231" default="false" visible="eq(-1,true)" subsetting="true"/> -->
<setting id="library_move" type="bool" label="70231" visible="eq(-3,true)" default="true"/>
<setting id="settings_kod1" type="action" label="70789" action="" visible="eq(-4,true)"/>
<setting id="library_move" type="bool" label="70231" visible="eq(-4,true)" default="true"/>
<setting id="browser" type="bool" label="70232" visible="eq(-5,true)" default="true"/>
<setting id="server_speed" type="bool" label="70242" visible="eq(-6,true)" default="true"/>
<setting id="quality" type="select" label="70240" lvalues="70241|70763|70764|70765" visible="eq(-7,true)" default="0"/>