Browse Source

Fix bug with hello_video player getting unexpected volume parameter.

pull/16/head
Tony DiCola 9 years ago
parent
commit
bd0c1893a2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Adafruit_Video_Looper/hello_video.py

+ 1
- 1
Adafruit_Video_Looper/hello_video.py View File

@@ -24,7 +24,7 @@ class HelloVideoPlayer(object):
"""Return list of supported file extensions.""" """Return list of supported file extensions."""
return self._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.""" """Play the provided movied file, optionally looping it repeatedly."""
self.stop(3) # Up to 3 second delay to let the old player stop. self.stop(3) # Up to 3 second delay to let the old player stop.
# Assemble list of arguments. # Assemble list of arguments.


Loading…
Cancel
Save