瀏覽代碼

Fix bug with hello_video player getting unexpected volume parameter.

pull/16/head
Tony DiCola 9 年之前
父節點
當前提交
bd0c1893a2
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      Adafruit_Video_Looper/hello_video.py

+ 1
- 1
Adafruit_Video_Looper/hello_video.py 查看文件

@@ -24,7 +24,7 @@ class HelloVideoPlayer(object):
"""Return list of supported file extensions."""
return self._extensions

def play(self, movie, loop=False):
def play(self, movie, loop=False, **kwargs):
"""Play the provided movied file, optionally looping it repeatedly."""
self.stop(3) # Up to 3 second delay to let the old player stop.
# Assemble list of arguments.


Loading…
取消
儲存