Cyril Nouveau
Inscrit le : 10 Sep 2005 Messages : 1
 | Sujet: VLC en arrière plan Sam 10 Sep à 13:17 | |
| Pour les linuxiens, vous pouvez ajouter l'option "-d" à la ligne de commande de vlc pour ne pas qu'il saffiche à l'écran.
Par contre, pour l'arrêter, il faut le tuer avec "killall vlc".
Voili voilou. |
|
jpsc01 Nouveau
Inscrit le : 15 Sep 2005 Messages : 6
 | Sujet: Re: VLC en arrière plan Mar 4 Oct à 16:14 | |
| yep on peux le lancer au demarage de la machine du coup cf extract de mon script qui lance vlc #!/bin/sh
## /etc/init.d/vlc: démarre et arrête le service vlc
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/freeplayer/bin
# Chemin vers le programme qui démarrera vlc DAEMON=/usr/local/freeplayer/bin/vlc-fbx.sh
NAME=vlc DESC="serveur de streaming"
## Début du script proprement dit
test -x $DAEMON || exit 0
# Suivant l'argument que l'on va ajouter après le nom du script, on va # définir différentes possibilités au script grâce à l'instruction # case case "$1" in # si on tape # /etc/init.d/vlc_script start, les instructions # qui suivent vont être exécutées start) # Affiche : « Starting serveur de streaming: vlc» # $DESC et $NAME sont bien entendu les variables que l'on a # défini plus haut echo -n "Starting $DESC: $NAME" # Lance le serveur vlc vlc-fbx.sh echo "." ;; # Fin des instuctions si on met l'argument start après le nom # du script # si on tape /etc/init.d/vlc_script stop, les # instructions suivantes vont être exécutées stop) echo -n "Stopping $DESC: $NAME" # Tue tous les processus portant le nom « vlc » # sauvagement (« -9 ») et n'affiche # pas le résultat (« /dev/null ») killall -9 vlc >& /dev/null echo "." ;; # Fin des instructions si on met l'argument stop après le nom # du script si on tape /etc/init.d/vlc_script restart, # les instructions suivantes vont être exécutées restart) echo -n "Restarting $DESC: $NAME" # Vérifie si le processus vlc est déjà lancé ou non if [ -z "$(ps ax | egrep vlc)" ]; then # Si il n'est pas lancé alors on affiche : « vlc isn't # running, so not killed » echo " vlc isn't running, so not killed" ; else # Sinon on tue tous les processus portant le nom vlc # comme décrit précédemment killall -9 vlc >& /dev/null ; fi # Attente d'une seconde avant de continuer le script sleep 5 vlc-fbx.sh echo "." ;; # Si on tape # /etc/init.d/vlc alors le script affichera # les différents arguments que l'on peut donner au script *) echo "Usage: /etc/init.d/$NAME start|stop|restart" >&2 exit 1 ;; esac
exit 0 ## Fin du script ! |
|
cialis Invité
 | |
BodyBuil Invité
 | Sujet: Body Building Lun 15 Jan à 19:54 | |
| Hi everybody. Can somebody give me an advice? I'm a body builder, and now I want to buy a Bowflex home gym here: BowflexHomeGymEquipment. Anybody uses such machine? Is it good not only for fitness but for body building also? Thanks! |
|
AngelaDa Invité
 | Sujet: A question about VoIP Sam 20 Jan à 5:02 | |
| Hi! Does anybody use vonage phone service[url=http://vonage-service.blogspot.com]?[/url] Is it as cheap as the advertisement says? Is it better than usual phone? I often call my sister in Canada, and spend lots of money on these calls. Please give me some advice, maybe it would be better for me to use VoIP? Thank you. |
|
AnnDougl Invité
 | Sujet: JiffyLube Sam 20 Jan à 18:39 | |
| Hello! Somebody here (I don't remember the name of the topic) looked for the info about JiffyLube and JiffyLube coupons.. I've found something important about this. I'm glad if this information would help you  |
|
Kimberly Invité
 | Sujet: Where to find manual? Dim 21 Jan à 2:50 | |
| Hi everybody! My husband bought a great sony bravia LCD TV, but he lost manual! Please tell me where can I find one. Thank you very much! |
|
PeteSant Invité
 | Sujet: AARP Mer 24 Jan à 17:20 | |
| Hi everybody. I am retired policeman and I'm thinking about joining AARP. Is enybody a member of this organization? I heard some nice things about it, and also some bad things. What should I do? Can anybody help me with some advice? Thank you very much for your patience. |
|
FredFris Invité
 | Sujet: What is bank foreclosure? Jeu 25 Jan à 0:28 | |
| Good day everybody. Can anyone tell me what is bank foreclosure, and what can common people get? Maybe write some links. I've found some, but I'm not sure if I can get all the information I need from them. Here are them: bank foreclosure bank foreclosure info bank-foreclosure lists bank foreclosure listings Please give me some information or write links. Thank you very much |
|
JessicaL Invité
 | Sujet: ticketmaster alternative Jeu 25 Jan à 19:21 | |
| Hello! Is there a better seller of event tickets than ticketmaster? I really need this info..Thanks  |
|
Hitmaxim Invité
 | Sujet: A new theme Lun 19 Mar à 3:32 | |
| | Hey, guys, look at these sites! I found lots of useful things for me, and maybe you'll find something too? . Sorry if I've wrote something wrong in your freemode.forumactif.com. But I'll be glad if you'll find something useful for you like I did. |
|
JCMaroon Invité
 | Sujet: some solutions? Jeu 22 Mar à 4:47 | |
| | I have a small business and now I really need a good |
|