Skip to content

Commit

Permalink
simplify options
Browse files Browse the repository at this point in the history
  • Loading branch information
jurialmunkey committed Aug 18, 2022
1 parent 629a88b commit ff4be49
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions addon.xml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="context.themoviedb.helper" version="1.1.0" name="TMDbHelper - Additional Context Menu Items" provider-name="jurialmunkey">
<addon id="context.themoviedb.helper" version="1.1.1" name="TMDbHelper - Additional Context Menu Items" provider-name="jurialmunkey">
<requires>
<import addon="xbmc.python" version="3.0.0" />
<import addon="plugin.video.themoviedb.helper" version="4.7.7" />
<import addon="plugin.video.themoviedb.helper" version="4.10.30" />
</requires>
<extension point="kodi.context.item">
<menu id="kodi.core.main">
<menu>
<label>$ADDON[plugin.video.themoviedb.helper 32145]</label>
<item library="context.py" args="play_using">
<label>$ADDON[plugin.video.themoviedb.helper 32322]</label>
<visible>[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,movie)] + String.IsEmpty(ListItem.Property(tmdbhelper.context.playusing)) + String.IsEmpty(ListItem.Property(item.info))</visible>
<visible>[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,movie)]</visible>
</item>
<item library="context.py" args="related_lists">
<label>$ADDON[plugin.video.themoviedb.helper 32235]</label>
<visible>[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)] + String.IsEmpty(ListItem.Property(tmdbhelper.context.related)) + String.IsEmpty(ListItem.Property(item.info))</visible>
<visible>[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)]</visible>
</item>
<item library="context.py" args="sync_trakt">
<label>$ADDON[plugin.video.themoviedb.helper 32295]</label>
<visible>[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)] + String.IsEmpty(ListItem.Property(tmdbhelper.context.trakt)) + String.IsEmpty(ListItem.Property(item.info))</visible>
<visible>[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)]</visible>
</item>
<item library="context.py" args="refresh_details">
<label>$ADDON[plugin.video.themoviedb.helper 32233]</label>
<visible>[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)] + String.IsEmpty(ListItem.Property(tmdbhelper.context.refresh)) + String.IsEmpty(ListItem.Property(item.info))</visible>
<visible>[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)]</visible>
</item>
<item library="context.py" args="manage_artwork">
<label>$ADDON[plugin.video.themoviedb.helper 32222]</label>
<visible>[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)] + String.IsEmpty(ListItem.Property(tmdbhelper.context.artwork)) + String.IsEmpty(ListItem.Property(item.info))</visible>
<visible>[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)]</visible>
</item>
<item library="context.py" args="add_to_library">
<label>$ADDON[plugin.video.themoviedb.helper 32151]</label>
<visible>[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)] + String.IsEmpty(ListItem.Property(tmdbhelper.context.addlibrary)) + String.IsEmpty(ListItem.Property(item.info))</visible>
<visible>[String.IsEqual(ListItem.dbtype,episode) | String.IsEqual(ListItem.dbtype,tvshow) | String.IsEqual(ListItem.dbtype,movie)]</visible>
</item>
</menu>
</menu>
Expand Down

0 comments on commit ff4be49

Please sign in to comment.