Disattivato animepertutti e cerca con kod

This commit is contained in:
mac12m99
2021-04-28 21:41:13 +02:00
parent 8077af637c
commit 93429cacd9
3 changed files with 63 additions and 65 deletions

View File

@@ -14,12 +14,12 @@
<menu id="kodi.core.main">
<item library="updatetvshow.py">
<label>70269</label>
<visible>String.StartsWith(ListItem.FileNameAndPath, 'plugin://plugin.video.kod/') + String.IsEqual(ListItem.dbtype,tvshow)</visible>
</item>
<item library="externalsearch.py">
<label>90001</label>
<visible>!String.StartsWith(ListItem.FileNameAndPath, 'plugin://plugin.video.kod/') + [String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)]</visible>
<visible>String.IsEqual(ListItem.dbtype,tvshow)</visible>
</item>
<!-- <item library="externalsearch.py">-->
<!-- <label>90001</label>-->
<!-- <visible>!String.StartsWith(ListItem.FileNameAndPath, plugin://plugin.video.kod/) + [String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)]</visible>-->
<!-- </item>-->
</menu>
</extension>
<extension point="xbmc.addon.metadata">

View File

@@ -1,7 +1,7 @@
{
"id": "animeleggendari",
"name": "AnimePerTutti",
"active": true,
"active": false,
"language": ["ita", "sub-ita"],
"thumbnail": "animepertutti.png",
"bannermenu": "animepertutti.png",

View File

@@ -31,8 +31,6 @@ def execute_search():
imdb = xbmc.getInfoLabel('ListItem.IMDBNumber')
# folderPath = xbmc.getInfoLabel('Container.FolderPath')
# filePath = xbmc.getInfoLabel('ListItem.FileNameAndPath')
# logger.info("****")
# logger.info( xbmc.getCondVisibility("String.Contains(Container.FolderPath, 'plugin.video.kod')") )
# logger.info( xbmc.getCondVisibility("String.Contains(ListItem.FileNameAndPath, 'plugin.video.kod')") )