xvimage.py 文件源码

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

项目:vkkodi 作者: VkKodi 项目源码 文件源码
def GetAlbums(self, uid=None):
        albums=None
        if uid:
            albums=self.api.call("photos.getAlbums", need_covers=1, uid=uid)
        else:
            albums=self.api.call("photos.getAlbums", need_covers=1)
        items = []
        for a in albums:
            xbmc.log(a.get('thumb_src'),xbmc.LOGDEBUG)
            e = ( a["title"] + unicode(" (%s photo)" % a["size"]),
                  a["description"],
                  a.get('thumb_src'),
                  str(a["aid"]),
                  a["owner_id"]  )
            items.append(e)
        return items
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号