Explorar el Código

Fix bug with hello_video player getting unexpected volume parameter.

pull/16/head
Tony DiCola hace 9 años
padre
commit
bd0c1893a2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      Adafruit_Video_Looper/hello_video.py

+ 1
- 1
Adafruit_Video_Looper/hello_video.py Ver fichero

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


Cargando…
Cancelar
Guardar