Contextmenu (#307)

* contextmenu in Kod Options

* remove single quote for menu

* fix reviews changes

* merge commit from alpha

* check if item is already managed by kod

* added episode  and season as dbtype for showing menu

* move context into platform

* refactor get_menu_items()

Co-authored-by: mac12m99 <10120390+mac12m99@users.noreply.github.com>
This commit is contained in:
fatshotty
2021-06-08 19:58:00 +02:00
committed by GitHub
parent e28e59d5ae
commit c8517dfa6d
11 changed files with 515 additions and 45 deletions

View File

@@ -16,10 +16,10 @@
<label>70269</label>
<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>-->
<item library="contextmenu.py">
<label>90001</label>
<visible>!String.StartsWith(ListItem.FileNameAndPath, plugin://plugin.video.kod/) + [ String.IsEqual(ListItem.dbtype, tvshow) | String.IsEqual(ListItem.dbtype, movie) | String.IsEqual(ListItem.dbtype, season) | String.IsEqual(ListItem.dbtype, episode) ]</visible>
</item>
</menu>
</extension>
<extension point="xbmc.addon.metadata">