|
@@ -249,7 +249,7 @@ class VideoLooper: |
|
|
# Load and play a new movie if nothing is playing. |
|
|
# Load and play a new movie if nothing is playing. |
|
|
if not self._player.is_playing(): |
|
|
if not self._player.is_playing(): |
|
|
movie = playlist.get_next() |
|
|
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. |
|
|
# Start playing the first available movie. |
|
|
self._print('Playing movie: {0}'.format(movie)) |
|
|
self._print('Playing movie: {0}'.format(movie)) |
|
|
self._player.play(movie, loop=playlist.length() == 1, vol = self._sound_vol) |
|
|
self._player.play(movie, loop=playlist.length() == 1, vol = self._sound_vol) |
|
|