This shows you the differences between two versions of the page.
misc:soundreceiver [2008/09/08 10:42] wkunert created |
misc:soundreceiver [2010/02/01 21:52] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Soundreceiver ====== | ||
- | A short shell script to play (sound-)files via network. | ||
- | |||
- | Copy the following code with an editor into a textfile. | ||
- | |||
- | #!/bin/sh | ||
- | echo " | ||
- | while true | ||
- | do | ||
- | nc -l -p 50000 > /dev/audio | ||
- | done | ||
- | |||
- | Change the file permissions to ' | ||
- | |||
- | chmod 755 < | ||
- | |||
- | Start your script by typing the filepath. | ||
- | |||
- | ./< | ||
- | |||
- | You can send files with following command: | ||
- | |||
- | nc <ip> 50000 < < | ||
- | |||
- | To start the scipt automatically on a hp t5000 series thin client move the script to < |