v17 Addon with two "provides" has two root menus?
#1
This issue occurs only in skins like Estuary, Estouchy and Omni (those that I tested). Old type of skins like Confluence and Aeon Nox do not behave like this.

addon.xml:

Code:
<provides>video audio</provides>

I have this code in my addon and it is called when "action" is None:

Code:
import sys, urlparse, xbmc

syshandle = int(sys.argv[1])
sysaddon = sys.argv[0]
params = dict(urlparse.parse_qsl(sys.argv[2].replace('?','')))

########################################################################################################################

action = params.get('action')
url = params.get('url')
content = params.get('content_type')
image = params.get('image')
name = params.get('name')
title = params.get('title')

########################################################################################################################

fp = xbmc.getInfoLabel('Container.FolderPath')

if 'audio' in fp and action is None:
    action = 'radio'

When I browse to my addon through video addons it goes to root menu, as indented. When I browse through music addon it goes to my radio stations, once again as intended. If I use estuary and wish to exit the addon I have to select previous menu TWICE. Same when called as audio addon. When Aeon Nox is used this issue does not occur.

EDIT: When addon is selected through estuary's addon browser it works as intended. This issue appears to occur when selected from home screen.
Reply

Logout Mark Read Team Forum Stats Members Help
Addon with two "provides" has two root menus?0