Skip to content

Commit

Permalink
Add ability to use Container.Content "files"
Browse files Browse the repository at this point in the history
Should be able to add "files" to the list also, unsure if it will work for all types, but works for videos in testing.
  • Loading branch information
kcook98765 authored Mar 24, 2023
1 parent 3f91b0b commit 9b9e8f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.1" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.program.shortlist" name="Shortlist" version="0.0.10" provider-name="kcook98765">
<addon id="plugin.program.shortlist" name="Shortlist" version="0.0.11" provider-name="kcook98765">
<requires>
<import addon="xbmc.python" version="3.0.0"/>
</requires>
Expand Down Expand Up @@ -28,7 +28,7 @@
<menu id="kodi.core.main">
<item library="capture.py">
<label>30012</label>
<visible>[!String.IsEmpty(ListItem.DBID) + String.IsEqual(ListItem.DBType,movie)]</visible>
<visible>[!String.IsEmpty(ListItem.DBID) + String.IsEqual(ListItem.DBType,movie)] | String.IsEqual(Container.Content,files)</visible>
</item>
</menu>
</extension>
Expand Down

0 comments on commit 9b9e8f9

Please sign in to comment.