Justin
Justin
Can you confirm that this is working in your terminal by hand executing the script manually? If you are jumping to your remote stuff, it is very possible that you...
Try it now. I am confused why this doesn't work for you. I thought it might be due to that initial `$` but now think I may have been wrong...
Ahh, I'm getting the same errors when running the process via `sudo sh` & also with just `sh`. However when I execute the script via, `./startstop` (without sudo and without...
I have a feeling you are not currently the `pi` user but are logged in as root. If you run `whoami` you can see who you are at the moment....
> pi@controller:~/pseudo-channel $ ./startstop -bash: ./startstop: No such file or directory > pi@controller:~/pseudo-channel $ ./startstop startstop.sh -bash: ./startstop: No such file or directory > pi@controller:~/pseudo-channel $ ./startstop /home/pi/pseudo/startstop.sh -bash: ./startstop:...
To be honest I cannot remember my reasoning for adding the modulusoperator to this function. However, this hasn't caused an issue like @bud86 mentioned for me. In fact, I inject...
It looks like it is being used. Also, I realized that I do have a variable up top in that class called "MIN_DURATION_FOR_COMMERCIAL" and it is being set to "10"...
Man, I wish I remember what I was doing there. I suppose one fix is to just completely remove that condition entirely and have that function return a random commercial...
@bud86 I think it is due to the script anticipating hundreds of commercial videos of varying length. I can't quite wrap my head around how it isn't working with your...
I'm not sure why it works for me (and others) but is breaking for you. I guess I was suggesting that for some reason having more commercials maybe the reason...