Merge remote-tracking branch 'origin/master'

This commit is contained in:
marco
2020-07-31 18:17:33 +02:00
11 changed files with 214 additions and 33 deletions

View File

@@ -245,7 +245,7 @@ def run(item=None):
# Special action for searching, first asks for the words then call the "search" function
elif item.action == "search":
# from core.support import dbg;dbg()
if filetools.isfile(temp_search_file):
if filetools.isfile(temp_search_file) and config.get_setting('videolibrary_kodi'):
itemlist = []
f = filetools.read(temp_search_file)
strList = f.split(',')
@@ -356,7 +356,7 @@ def new_search(item, channel=None):
return itemlist
def set_search_temp(item):
if filetools.isfile(temp_search_file):
if filetools.isfile(temp_search_file) and config.get_setting('videolibrary_kodi'):
f = '[V],' + filetools.read(temp_search_file)
filetools.write(temp_search_file, f)