default.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:plugin.audio.euskarazko-irratiak 作者: aldatsa 项目源码 文件源码
def show_main_menu():
    # Create menu directory for the live radios
    url = build_url({'mode': 'streams', 'foldername': ADDON.getLocalizedString(30001)})
    li = xbmcgui.ListItem(ADDON.getLocalizedString(30001), iconImage='DefaultFolder.png')
    xbmcplugin.addDirectoryItem(handle=addon_handle, url=url,
                                listitem=li, isFolder=True)

    # Create menu directory for the podcasts
    url = build_url({'mode': 'podcasts-radios', 'foldername': ADDON.getLocalizedString(30002)})
    li = xbmcgui.ListItem(ADDON.getLocalizedString(30002), iconImage='DefaultFolder.png')
    xbmcplugin.addDirectoryItem(handle=addon_handle, url=url,
                                listitem=li, isFolder=True)

    xbmcplugin.endOfDirectory(addon_handle)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号