←  [EN] Enduser support

Forums

»

Save only most recent recording with repea...

feelfree's Photo feelfree 17 Mar 2012

Is there any function or plugin to realize a repeating timer which saves only the most recent recording?
I'd like to record the daily news, but obviously I'm not interested in news that are older than one day...
It's a little bit annoying to manually delete all these old recordings...
Quote

hemispherical1's Photo hemispherical1 17 Mar 2012

I'm not aware of any plugin...

You could make a directory on your hard drive (or whatever recording location) for only you daily recordings thet you want automagically removed. Point the timer for such programs there as it's recording location. Then you could set up a simple cron job to empty the directory daily. Say you record the 10pm news, a cron job like:

55 21 * * * rm /path/to/directory/*

should delete all the previous days files 5 min before the current recording starts. That'd probably be the simplest bet, more complicated variations of that "theme" could also be configured, like deleting specific files over 24 hours old, etc...

--
hemi
Quote

jeanclaude's Photo jeanclaude 17 Mar 2012

even easier still : use the trash bin as destination folder. the recordings will be automatically cleaned whenever the disk cleanup treshold is reached.
Quote

hemispherical1's Photo hemispherical1 17 Mar 2012

Yes that does sound easier. I knew there had to be a use for that trashcan... ;)


--
hemi
Quote

feelfree's Photo feelfree 18 Mar 2012

Thanks for your suggestions - had the idea with the cronjob myself before, but thought that a more user-friendly GUI version might exist, as a 10?-year old Panasonic DVD-recorder from the good-old analogue-days had such a timer-option... ;-)
Quote