Hello!
I have this simple script:
set("log.file.path","mylog.log")
set("log.stdout",false)
test = playlist("./music/")
def printerror(a)
print(a)
.1
end
output.icecast(%opus,
host = "localhost",
port = 8000,
password = "hackmee",
on_connect={print('Connected!')},
on_start={print('Sending data!')},
on_error=printerror(),
on_stop={print('Stopping data :(')},
on_disconnect={print('Disconnected!')},
mount = "test.opus",
mksafe(test))
I can get the status of output.icecast just looking at my console.
However, i'd like to do something else like send a string to a telnet
server or do an HTTP request when something happens (on connect, error,
disconnect etc.). Is it possible?
Thank you.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users