[RDD] restart after power failure

2021-02-01 Thread Nick Vanderest
Hi Drew. Thanks for the response. I had to make 1 slight change to make it work on my setup. I had to take out the underscores between the units. #NOWDATE=$(date +%Y_%m_%d) NOWDATE=$(date +%Y%m%d) Works like a hot damn now. Thanks for the help! Nick _

Re: [RDD] restart after power failure

2021-02-01 Thread drew Roberts
Nick, try this for 3.x: #!/bin/bash #Credentials for Rivendell Database #Edit these as required # 3.x riv user="rduser" pass="letmein" host="localhost" db="Rivendell" #Get the current time let h=$(date +%-k)*360 let m=$(date +%-M)*6 let s=$(date +%-S)*1000 let ms=$h+$m+$s echo "MS: "$ms

[RDD] restart after power failure

2021-01-31 Thread Nick Vanderest
Hello all. Long time reader/first time poster. Following the thread, I remembered I had found a snazzy script some time back, not sure whom originally created it, but it worked well with 2.x, but not 3.x. When I run the script, I get the following error: MS: 49953000 NOWDATE: 20210131 LOG_NAME:

Re: [RDD] restart after power failure

2021-01-30 Thread jorge soto
On Sat, Jan 30, 2021 at 5:19 AM David Klann wrote: > Hey drew, > > On 1/30/21 06:25, you wrote: > > Jorge, > > > > as a part of my bash scripted startup process, I run these scripts after > > rdairplay starts on my 2.x and 3.x riv boses... > > > IIUC, I am not the only riv head doing something l

Re: [RDD] restart after power failure

2021-01-30 Thread David Klann
Hi Chuck, On 1/30/21 13:14, you wrote: > May I just interject here--the 3.5 behavior is the correct one, IMO.  I > noted a few years ago that if a machine log was stopped and a “make > next” command executed, it started that stopped log playing.  On the > other hand, if the log was playing and

Re: [RDD] restart after power failure

2021-01-30 Thread Chuck
May I just interject here--the 3.5 behavior is the correct one, IMO. I noted a few years ago that if a machine log was stopped and a “make next” command executed, it started that stopped log playing. On the other hand, if the log was playing and a “make next” command executed, it did NOT start pl

Re: [RDD] restart after power failure

2021-01-30 Thread David Klann
Hey drew, On 1/30/21 07:37, drew Roberts wrote: > David. > > I think I got Jorge's issue but was suggesting an alternative. > > Got it. I wasn't sure if you understood the issue. Thanks for clearing up my misunderstanding! > On Sat, Jan 30, 2021 at 8:19 AM David Klann

Re: [RDD] restart after power failure

2021-01-30 Thread David Klann
Hey drew, On 1/30/21 06:25, you wrote: > Jorge, > > as a part of my bash scripted startup process, I run these scripts after > rdairplay starts on my 2.x and 3.x riv boses... > > IIUC, I am not the only riv head doing something like this. > > It is the rmlsend line at the end of the script tha

Re: [RDD] restart after power failure

2021-01-30 Thread drew Roberts
David. I think I got Jorge's issue but was suggesting an alternative. On Sat, Jan 30, 2021 at 8:19 AM David Klann wrote: > Hey drew, > > I believe that what jorge is relying on is the expected behavior of > Rivendell to simply wait until the next Timed Event to start when the > log is loaded

Re: [RDD] restart after power failure

2021-01-30 Thread drew Roberts
Jorge, as a part of my bash scripted startup process, I run these scripts after rdairplay starts on my 2.x and 3.x riv boses... IIUC, I am not the only riv head doing something like this. It is the rmlsend line at the end of the script that loads the log and starts it playing on the correct cart

Re: [RDD] restart after power failure

2021-01-29 Thread jorge soto
Hi Drew, nothing fancy. I start RdAirplay with Session and Startup on Ubuntu. in Configure RDAirPlay i checked Restart Log After Unclean Shutdown and load specified log %m/%d/%Y Legal ID at top of the hour is a hard time, make next event. and the clock has other hard time, make next events. Works f

Re: [RDD] restart after power failure

2021-01-29 Thread drew Roberts
Jorge, iirc, I did have to make changes to the bash scripts that start things up and load and fire my logs and it was at least partly due to changes in the database schema... How were you loading your log, calculating where to start and then starting the log in that spot? all the best, drew On

[RDD] restart after power failure

2021-01-28 Thread jorge soto
I have a machine running rivendell 2.19. I have hard timed events and time sync events on the log. whenever there is a reboot rivendell starts, loads the log and the time sync or the hard timed events fire and the log starts at the correct time. i installed rivendell 3.5 on another machine and wh