my nightly tv recorder script

Moderators: 666philb, Forum moderators

Post Reply
boof
Posts: 587
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

my nightly tv recorder script

Post by boof »

this is my attempt, it doesn't kill the ssr process at end.
i don't have a list of parameters to pass to
start recording, save the file to disc and exit the ssr,
so i made it partially manual.
i have 8GB RAM so i expect at least 6hrs recording in memory, which is enough

#!/bin/sh
# Test if in timeframe
repeat:
if (19:20<(date +%H:$M)<23:05);
#y=start chrome and ssr, manually set record
(Google* , simplescreenrecorder

#at end of time, save file or wait if not end
if (2300<(date +%H:$M));
(cp /mnt/sda4/*.mkv /mntsda4/Watch/*.mkv) (sleep 15 );
(repeat);
fi );

#turn off smallscreenrecoder and wait for next session
(killall 22994[?] , sleep 5 ,repeat);
fi

User avatar
wizard
Posts: 2181
Joined: Sun Aug 09, 2020 7:50 pm
Location: Oklahoma, USA
Has thanked: 3020 times
Been thanked: 812 times

Re: my nightly tv recorder script

Post by wizard »

You may want to consider this newer version of SimpleScreenRecorder that now has a scheduler.
https://forum.puppylinux.com/viewtopic.php?t=7915

wizard

Big pile of OLD computers

boof
Posts: 587
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

Re: my nightly tv recorder script

Post by boof »

tks, needed that

boof
Posts: 587
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

Re: my nightly tv recorder script

Post by boof »

fixed

Clarity
Posts: 4272
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1833 times
Been thanked: 576 times

Re: my nightly tv recorder script

Post by Clarity »

Hi @boof

Question
'Fixed' Using @wizard's recommendation or something else? (Screenshot, maybe.)

boof
Posts: 587
Joined: Sat Aug 15, 2020 9:17 am
Been thanked: 8 times

Re: my nightly tv recorder script --fixed

Post by boof »

finished setting up what i thought should work, hdmi0, volumes, equalizer, testing in equalizer wrked, saved, rebooted and presto- sound on tv.

Post Reply

Return to “Fossapup64”