Shoutcast
De Hack-it.org.
(→Pour lancer la radio :) |
(→Commandes :) |
||
Ligne 1 : | Ligne 1 : | ||
[http://91.121.76.77:8000/listen.pls Ecouter Radio Pourceaux !!!] | [http://91.121.76.77:8000/listen.pls Ecouter Radio Pourceaux !!!] | ||
- | == | + | ==Commandes :== |
+ | *lancer la server : /home/shoutcast/sc_serv/./sc_serv | ||
+ | *lancer le flux : cd /home/shoutcast/sc_trans/ ; ./sc_trans_linux | ||
+ | *commande sc_trans_linux : | ||
+ | ; sc_trans accepts the following signals: | ||
+ | ; HUP - flush logfiles (close and reopen) -- will make console logging stop | ||
+ | ; WINCH - jump to next song | ||
+ | ; USR1 - reload playlist off disk (will not interrupt current playing stream) | ||
+ | ; USR2 - toggle shuffle on/off | ||
+ | ; TERM - normal sc_trans shutdown (clean) | ||
+ | *lancer une de ces putains de commande : | ||
+ | kill -s USR1 `ps ax | grep sc_trans | grep -v grep | cut -c1-5` | ||
- | + | *foutre la pl a jour | |
- | + | find /home/shoutcast/mp3 -type f -name "*.mp3" > /home/shoutcast/mp3/playlist.lst | |
- | et | + | *et pour l'arrêter (flux, server): |
- | pour | + | kill `ps ax | grep sc_trans | grep -v grep | cut -c1-5` |
+ | |||
+ | kill `ps ax | grep sc_serv | grep -v grep | cut -c1-5` | ||
==connerie a défaire== | ==connerie a défaire== |