Bläddra i källkod

Fix bug with hello_video player getting unexpected volume parameter.

pull/16/head
Tony DiCola 9 år sedan
förälder
incheckning
bd0c1893a2
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      Adafruit_Video_Looper/hello_video.py

+ 1
- 1
Adafruit_Video_Looper/hello_video.py Visa fil

@@ -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.


Laddar…
Avbryt
Spara