parent
51719cfa50
commit
8d6107b252
1 changed files with 0 additions and 2 deletions
|
@ -162,7 +162,6 @@ def doMainListing():
|
||||||
xbmcplugin.setContent(int(sys.argv[1]), 'files')
|
xbmcplugin.setContent(int(sys.argv[1]), 'files')
|
||||||
# Get emby nodes from the window props
|
# Get emby nodes from the window props
|
||||||
plexprops = window('Plex.nodes.total')
|
plexprops = window('Plex.nodes.total')
|
||||||
log.debug('Plex.nodes.total: %s' % plexprops)
|
|
||||||
if plexprops:
|
if plexprops:
|
||||||
totalnodes = int(plexprops)
|
totalnodes = int(plexprops)
|
||||||
for i in range(totalnodes):
|
for i in range(totalnodes):
|
||||||
|
@ -171,7 +170,6 @@ def doMainListing():
|
||||||
path = window('Plex.nodes.%s.content' % i)
|
path = window('Plex.nodes.%s.content' % i)
|
||||||
label = window('Plex.nodes.%s.title' % i)
|
label = window('Plex.nodes.%s.title' % i)
|
||||||
node_type = window('Plex.nodes.%s.type' % i)
|
node_type = window('Plex.nodes.%s.type' % i)
|
||||||
log.debug('path %s, label: %s, node_type: %s' % (path, label, node_type))
|
|
||||||
#because we do not use seperate entrypoints for each content type, we need to figure out which items to show in each listing.
|
#because we do not use seperate entrypoints for each content type, we need to figure out which items to show in each listing.
|
||||||
#for now we just only show picture nodes in the picture library video nodes in the video library and all nodes in any other window
|
#for now we just only show picture nodes in the picture library video nodes in the video library and all nodes in any other window
|
||||||
if path and xbmc.getCondVisibility("Window.IsActive(Pictures)") and node_type == "photos":
|
if path and xbmc.getCondVisibility("Window.IsActive(Pictures)") and node_type == "photos":
|
||||||
|
|
Loading…
Reference in a new issue