2020-03-11, 21:11
For those that are still interested in this addon like me, I've made a fix that you can apply without downgrading xbmcswift and by proxy not break any addons that depend on the later versions of xbmcswift.
In the 'addon.py' replace this entire area with the code below and the addon should work again as expected.
In the 'addon.py' replace this entire area with the code below and the addon should work again as expected.
Quote:@plugin.route('/')
def show_root():
if 'audio' in xbmc.getInfoLabel('Container.FolderPath'):
content_type = 'audio'
else:
content_type = 'video'
#content_type = 'audio'
#xbmc.log('THIS IS THE CONTENT_TYPE ' + str(content_type))
items = (
{'label': _('browse_by_genre'), 'path': plugin.url_for(
endpoint='show_genres',
content_type=content_type
)},
{'label': _('show_my_podcasts'), 'path': plugin.url_for(
endpoint='show_my_podcasts',
content_type=content_type
)},
{'label': _('search_podcast'), 'path': plugin.url_for(
endpoint='search',
content_type=content_type
)},
)
return plugin.finish(items)