Merge branch 'alpha' of /home/marco/.kodi/addons/plugin.video.kod with conflicts.

This commit is contained in:
mac12m99
2021-06-08 19:49:30 +02:00
parent 5f16ff4121
commit 46b8eb945a
3 changed files with 7 additions and 2 deletions

View File

@@ -475,7 +475,7 @@ def scrape(func):
typeContentDict, typeActionDict, blacklist, search, pag, function, lang, sceneTitle, group)
for it in blockItemlist:
if 'lang' in bl:
it.contentLanguage = scrapeLang(bl, it.contentLanguage, it.title)
it.contentLanguage = scrapeLang(bl, it.contentLanguage)
if 'quality' in bl and bl['quality']:
it.quality = bl['quality'].strip()
# it.title = it.title + typo(bl['quality'].strip(), '_ [] color kod')

View File

@@ -29,3 +29,8 @@ if sys.argv[2] == "":
launcher.start()
launcher.run()
# import sqlitedict
#
# d = sqlitedict.SqliteDict('/home/marco/.kodi/userdata/addon_data/plugin.video.kod/videolibrary/videolibrary.sqlite', 'tvshow')
# for k, v in d.items():
# print(k, v['item'])

View File

@@ -505,7 +505,7 @@ def update_videolibrary(item=None):
for s in show['channels'].values():
show_list += s
t = float(100) / len(show_list)
t = float(100) / len(show_list) if len(show_list) > 0 else 1
i = 0
for it in show_list: