default.py 文件源码

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

项目:nuodtayo.tv 作者: benaranguren 项目源码 文件源码
def showShows(category_url):
    """Display all shows under a sub category

    params:
        category_url: a sub category is a unique id
    """

    showListData = get_show_list(category_url)
    if showListData is None:
        xbmcplugin.endOfDirectory(thisPlugin)
        return

    for show_id, (title, thumbnail) in showListData.iteritems():
        addDir(title, str(show_id), Mode.SHOW_INFO, thumbnail)

    xbmcplugin.addSortMethod(thisPlugin, xbmcplugin.SORT_METHOD_LABEL_IGNORE_THE)
    xbmcplugin.endOfDirectory(thisPlugin)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号