audio addon
#1
Hi I'm new on addons development and I need some help.
My project is on github [here the link] All it does is getting links from a web site that offer some trials audio file. All is ok when I get the first page, but when I try to create a next button that link two the second page it fail. The file is default.py.
Can someone help me please?
Reply
#2
Code:
udienze_list.append((url, li, False))

The False there is whether or not this item is a folder. make that true.
Reply
#3
Already solved adding playable items with addDirectoryItems and then building Next Page and adding separately with addDirectoryItem setting isPlayable as false and isFolder as true as follow:
Code:
li = xbmcgui.ListItem(label='Next Page ('+str(showing_page)+')')
li.setProperty('IsPlayable', 'false')
url = build_url({'mode':'next','page_number': next_page, 'title': 'Next Page ('+str(showing_page)+')'})
xbmcplugin.addDirectoryItem(handle = addon_handle, url = url, listitem = li, isFolder = True)

as you can see on the github repo
thank you
Reply
#4
yes that would be equivalent. whichever you prefer Smile
Reply

Logout Mark Read Team Forum Stats Members Help
audio addon0