diff options
author | michele.simionato <devnull@localhost> | 2007-12-02 11:13:11 +0000 |
---|---|---|
committer | michele.simionato <devnull@localhost> | 2007-12-02 11:13:11 +0000 |
commit | 20ce686b0193d67ea56823a30551140f88b3aee1 (patch) | |
tree | 76015e7e4dc0b000bd857a2bdba6fb7976ac29a7 /pypers/bolzano/player/call_mpg123.py | |
parent | f08f40335ad7f0ac961f25dabaaed34c4d4bcc44 (diff) | |
download | micheles-20ce686b0193d67ea56823a30551140f88b3aee1.tar.gz |
Commited all py papers into Google code
Diffstat (limited to 'pypers/bolzano/player/call_mpg123.py')
-rwxr-xr-x | pypers/bolzano/player/call_mpg123.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pypers/bolzano/player/call_mpg123.py b/pypers/bolzano/player/call_mpg123.py new file mode 100755 index 0000000..c06b4b0 --- /dev/null +++ b/pypers/bolzano/player/call_mpg123.py @@ -0,0 +1,6 @@ +import os, time +from subprocess import Popen + +def play(fname): + player = Popen(["/usr/bin/mpg123", fname]) + return player.pid |