def mode_default():
    categories = {'podcasts': 'Podcasts', 'stations': 'Stations'}
    for (mode, category) in categories.items():
        url = build_url({'mode': mode})
        li = xbmcgui.ListItem(category)
        xbmcplugin.addDirectoryItem(handle=addon_handle, url=url, listitem=li, isFolder=True)
    xbmcplugin.endOfDirectory(addon_handle)
def mode_default():
    categories = {'podcasts': 'Podcasts', 'stations': 'Stations'}
    for (mode, category) in categories.items():
        url = build_url({'mode': mode})
        li = xbmcgui.ListItem(category)
        xbmcplugin.addDirectoryItem(handle=addon_handle, url=url, listitem=li, isFolder=True)
    xbmcplugin.endOfDirectory(addon_handle)