Skip to content

Commit

Permalink
use mpg123 as default player
Browse files Browse the repository at this point in the history
  • Loading branch information
saoron committed Apr 12, 2017
1 parent 899de33 commit 45e0923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/sound.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def play_sound(self, type, urgent):
if self.raspberry == False:
os.system('mpg321 ' + PARENT_DIR + '/assets/sound/'+str(type)+'.mp3 &')
else:
os.system('omxplayer ' + PARENT_DIR + '/assets/sound/' + str(type) + '.mp3 &')
os.system('mpg123 ' + PARENT_DIR + '/assets/sound/' + str(type) + '.mp3 &')
self.isPlaying = False

def updateIsPlaying(self):
Expand Down

0 comments on commit 45e0923

Please sign in to comment.