Bladeren bron

fix typo

master
Andreas Demmelbauer 5 jaren geleden
bovenliggende
commit
eb1d4d79cd
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. +1
    -1
      Adafruit_Video_Looper/video_looper.py
  2. +1
    -1
      install.sh

+ 1
- 1
Adafruit_Video_Looper/video_looper.py Bestand weergeven

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


+ 1
- 1
install.sh Bestand weergeven

@@ -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 "========================="


Laden…
Annuleren
Opslaan