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)
player_monitor.py 文件源码
python
阅读 20
收藏 0
点赞 0
评论 0
评论列表
文章目录