From eb1d4d79cdbf42d9efa064e1b535c9683a21e7ec Mon Sep 17 00:00:00 2001 From: Andreas Demmelbauer Date: Thu, 23 May 2019 17:05:34 +0200 Subject: [PATCH] fix typo --- Adafruit_Video_Looper/video_looper.py | 2 +- install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Adafruit_Video_Looper/video_looper.py b/Adafruit_Video_Looper/video_looper.py index dd1a6dd..f561ffa 100644 --- a/Adafruit_Video_Looper/video_looper.py +++ b/Adafruit_Video_Looper/video_looper.py @@ -249,7 +249,7 @@ class VideoLooper: # Load and play a new movie if nothing is playing. if not self._player.is_playing(): movie = playlist.get_next() - if if not self._player.is_playing(): movie is not None: + if movie is not None: # Start playing the first available movie. self._print('Playing movie: {0}'.format(movie)) self._player.play(movie, loop=playlist.length() == 1, vol = self._sound_vol) diff --git a/install.sh b/install.sh index 9ebf0ff..5b738d3 100755 --- a/install.sh +++ b/install.sh @@ -11,7 +11,7 @@ fi echo "Installing dependencies..." echo "==========================" -apt update && apt -y install git build-essential python3-dev python3 python3-pip python3-pygame supervisor omxplayer +apt update && apt -y install git build-essential python3-dev python3 python3-pip python3-pygame supervisor wiringpi omxplayer echo "Installing hello_video..." echo "========================="