VLC start over cronjob

*nix specific usage questions
Sundancer
Blank Cone
Blank Cone
Posts: 15
Joined: 29 Mar 2007 15:25

VLC start over cronjob

Postby Sundancer » 17 Apr 2007 11:54

Hi,

after one week of work, i have vlc compiled and its work. But now i have an new problem.
I want to start the vlc over an cronjob, i have written an short shellscript, with called from cron. All works, the cron runs an in the definied period cron called the script, but if the script runs, its starts vlc, and vlc ends with an error.
When i start vlc manuel from commandline its works fine.

The mail from cron has the output of vlc in attachment, its looks like so:
VLC media player 0.8.6 Janus
[00000245] main interface error: no suitable interface modul
[00000001] main vc error: interface "(null)" initialization failed

I don't now what this means, i have compiled vlc witout wxwidget, skins, skins2 and x.
I thankefull for any help

cya sunny

Edit: I've tested the script running manuel, then its works. The failure only appears when the cron start the script.

sjensen
Blank Cone
Blank Cone
Posts: 36
Joined: 14 Jul 2006 20:18

Postby sjensen » 18 Apr 2007 15:42

vlc -I dummy .....


Use the dummy interface, its cronable. Might want to redirect output to a file instead of having cron mail it to you, especially if you use the -v argument

Sundancer
Blank Cone
Blank Cone
Posts: 15
Joined: 29 Mar 2007 15:25

Postby Sundancer » 19 Apr 2007 12:20

thx, i want to probe this, when my vlc runs again. sometimes i hate linux.

Sundancer
Blank Cone
Blank Cone
Posts: 15
Joined: 29 Mar 2007 15:25

Postby Sundancer » 23 Apr 2007 12:41

Thanks alot, with -I dummy my cronjob runs great.


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

Who is online

Users browsing this forum: No registered users and 18 guests