Displaying 1 result from an estimated 1 matches for "your_oper_password".
2004 Aug 06
0
Python script to automate icecast
...= response[:-1]
else:
response = '<Unexpected Reply>'
return response
if __name__ == '__main__':
from sys import argv
if len(argv) <= 1:
argv.append('help')
ice = icecon('your_admin_password', 'your_oper_password')
if ice.Connect():
if (argv[1] == 'StartDump'):
ice.StartDump(argv[2])
elif (argv[1] == 'StopDump'):
ice.StopDump()
elif ice.MakeAdmin() and ice.MakeOper():
print ice.Command(' '.join(argv[1:]))
ice...