25 lines
422 B
Python
25 lines
422 B
Python
|
# Bryan Schumaker (8/7/2010)
|
||
|
|
||
|
from libsaria import music
|
||
|
|
||
|
path = "~/Music/Eagles/Hotel California.mp3"
|
||
|
|
||
|
music.load(path)
|
||
|
|
||
|
raw_input("Press ENTER to play ... ")
|
||
|
music.play()
|
||
|
|
||
|
raw_input("Press ENTER to pause ... ")
|
||
|
music.pause()
|
||
|
|
||
|
raw_input("Press ENTER to play ... ")
|
||
|
music.play()
|
||
|
|
||
|
raw_input("Press ENTER to stop ... ")
|
||
|
music.stop()
|
||
|
|
||
|
raw_input("Press ENTER to play ... ")
|
||
|
music.play()
|
||
|
|
||
|
raw_input("Press ENTER to quit ... ")
|