IrateDev.MadplayReplacement History
Hide minor edits - Show changes to output
Changed line 3 from:
to:
=python [=#!/usr/bin/python
Added lines 1-2:
Replace your madplay binary with this script, and make it executable, in order to use mpg321 instead of madplay.
Changed line 1 from:
#!/usr/bin/python
to:
[=#!/usr/bin/python=]
Added line 4:
Deleted line 8:
Changed line 13 from:
os.system( "kill "+str(child))
to:
os.system( "kill "+str(child))
Added line 18:
=]
Changed lines 1-17 from:
to:
#!/usr/bin/python
import sys
import os
os.system("killall mpg321");
child = os.fork();
if child!=0:
os.system ("mpg321 \"" + sys.argv[4]+"\"")
os.system( "kill "+str(child))
else:
sys.stdin.read(1);
os.system( "killall mpg321")
import sys
import os
os.system("killall mpg321");
child = os.fork();
if child!=0:
os.system ("mpg321 \"" + sys.argv[4]+"\"")
os.system( "kill "+str(child))
else:
sys.stdin.read(1);
os.system( "killall mpg321")
Page last modified on January 12, 2005, at 02:50 AM