Silent vlc on startup

*nix specific usage questions
a7k
Blank Cone
Blank Cone
Posts: 10
Joined: 10 Jun 2005 13:26
Location: Moscow
Contact:

Silent vlc on startup

Postby a7k » 16 Sep 2005 23:32

Sorry for my English :oops:

I want my vlc to start up after booting Linux.
I have used this script:

Code: Select all

#/bin/bash sudo nice -n-4 /usr/bin/wxvlc --color -I rc -vvv /home/ask/vlc/radio.m3u
It works, but my console is busy and there are much of debug messages on the screen. I want vlc start in the background and work silently (as daemon).

Is it possible? I tried to do it with "&" in the end of string, but console was blocked too.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 17 Sep 2005 21:51

there is a -d switch that launches vlc as a daemon. (it was broken on some platforms and fixed 1 week ago)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

a7k
Blank Cone
Blank Cone
Posts: 10
Joined: 10 Jun 2005 13:26
Location: Moscow
Contact:

Postby a7k » 18 Sep 2005 09:21

there is a -d switch that launches vlc as a daemon. (it was broken on some platforms and fixed 1 week ago)
wow, thanks!
I will get it and compile again, because it doesn't work with my build. Maybe, because it is very old :)

a7k
Blank Cone
Blank Cone
Posts: 10
Joined: 10 Jun 2005 13:26
Location: Moscow
Contact:

Postby a7k » 18 Sep 2005 20:11

there is a -d switch that launches vlc as a daemon. (it was broken on some platforms and fixed 1 week ago)
hmm...
Is it really fixed?
I got the latest vlc from svn, built it, but '-d' option doesn't work correctly.
That's what I have:

1) When i run 'vlc -d http://127.0.0.1:8080' (to play stream from an another vlc), it work as it must: process appears in the process table and sound plays.
2) But with that init string:

Code: Select all

vlc -d --color -I rc v4l:adev=/dev/dsp1:audio=0 --sout '#transcode{acodec=mp3,ab=192}:std{access=http,mux=wav,url=:8080}'
In addition, option '-I rc' doesn't work: it opens X window of player.

Could you help me? :roll:
please...

a7k
Blank Cone
Blank Cone
Posts: 10
Joined: 10 Jun 2005 13:26
Location: Moscow
Contact:

Postby a7k » 19 Sep 2005 08:33

+ my system if fc3, kernel 2.6.9


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 50 guests