InfoBarGenerics.py 文件源码

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

项目:enigma2 作者: Openeight 项目源码 文件源码
def getResumePoint(session):
    global resumePointCache
    ref = session.nav.getCurrentlyPlayingServiceOrGroup()
    if (ref is not None) and (ref.type != 1):
        try:
            entry = resumePointCache[ref.toString()]
            entry[0] = int(time()) # update LRU timestamp
            return entry[1]
        except KeyError:
            return None
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号