Page 1 of 1

VLC start over cronjob

Posted: 17 Apr 2007 11:54
by Sundancer
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.

Posted: 18 Apr 2007 15:42
by sjensen
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

Posted: 19 Apr 2007 12:20
by Sundancer
thx, i want to probe this, when my vlc runs again. sometimes i hate linux.

Posted: 23 Apr 2007 12:41
by Sundancer
Thanks alot, with -I dummy my cronjob runs great.