player_monitor.py 文件源码

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

项目:plugin.audio.spotify 作者: marcelveldt 项目源码 文件源码
def fill_fake_buffer(self):
        '''emulate playback by just slowly reading the stdout'''
        # We could pick up this data in a buffer but it is almost impossible to keep it all in sync.
        # So instead we ignore the audio from the connect daemon completely and we
        # just launch a standalone instance to play the track
        while not self.__exit:
            line = self.__spotty_proc.stdout.readline()
            xbmc.sleep(1)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号