Skip to content

Commit

Permalink
031318
Browse files Browse the repository at this point in the history
Bug Fix Context Menu Locations
Added Listitem.Property(PlayAll)
  • Loading branch information
smitchell6879 committed Mar 13, 2018
1 parent db7fb4e commit e599d2f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="plugin.video.specialfeatures"
version="2.0.7"
version="2.0.8"
name="Special Features"
provider-name="smitchell6879, evertiro">
<requires>
Expand All @@ -12,7 +12,7 @@ provider-name="smitchell6879, evertiro">
<menu id="kodi.core.main">
<item library="context.py">
<label>30070</label>
<visible>String.IsEqual(Window(home).Property(SpecialFeatures.Visible),true)+String.IsEqual(Window(home).Property(SpecialFeatures.ContextMenu),true)</visible>
<visible>String.IsEqual(Window(home).Property(SpecialFeatures.Visible),true)+String.IsEqual(Window(home).Property(SpecialFeatures.ContextMenu),true)+!String.StartsWith(Container.FolderPath,plugin://plugin.video.specialfeatures)</visible>
</item>
</menu>
</extension>
Expand Down
Binary file modified lib/iteration.pyo
Binary file not shown.
Binary file modified lib/querylib.pyo
Binary file not shown.
1 change: 1 addition & 0 deletions plugin.py
Expand Up @@ -238,6 +238,7 @@ def iteMList(self,item,category):
self.playall.setCast(self.item['cast'])
self.playall.setInfo('video',{'plot':lang(30055)})
self.playall.setProperty('IsPlayable', 'true')
self.playall.setProperty('PlayAll', 'true')
self.url = self.get_url(action='playall', item=item)
xbmcplugin.addDirectoryItem(self.handle,self.url, self.playall, self.is_folder)
xbmcplugin.addSortMethod(self.handle, xbmcplugin.SORT_METHOD_VIDEO_SORT_TITLE )
Expand Down
2 changes: 2 additions & 0 deletions script.py
Expand Up @@ -51,6 +51,8 @@ def get_url(self,**kwargs):
elif sys.argv[1] == 'editinfo':
r.editInfo()
elif sys.argv[1] == 'test':
text(xbmc.getInfoLabel('ListItem.Property(PlayAll)'))
text(xbmc.getInfoLabel('String.StartsWith(Container.FolderPath,plugin://plugin.video.specialfeatures)'))

text('Done')
else:
Expand Down

0 comments on commit e599d2f

Please sign in to comment.