how to schedule ?
Posted: 12 May 2015 21:53
I wan't every day from 00:00:00 to 07:59:00 stream one input, and from 08:00:00 to 23:59:59 to stream second input , can someone help me ?
as experiment with shotr time I did try this:
(in real job first period will be 8 hours, and second 16 ... , I intended to do cronjob as start and control, if VLC can't do by time start, stop, end everyday)
as experiment with shotr time I did try this:
Code: Select all
new sch_channelname_stop schedule enabled
setup sch_channelname_stop period 0/0/0-0:1:05
setup sch_channelname_stop append control sch_channelname_play enabled
setup sch_channelname_stop append control dvbs1-a0 stop
setup sch_channelname_stop append control dvbs1-a1 play
setup sch_channelname_stop append control sch_channelname_stop disabled
new sch_channelname_play schedule disabled
setup sch_channelname_play period 0/0/0-0:2:20
setup sch_channelname_play append control sch_channelname_stop enabled
setup sch_channelname_play append control dvbs1-a1 stop
setup sch_channelname_play append control dvbs1-a0 play
setup sch_channelname_play append control sch_channelname_play disabled