[mythtv-users] Batch Download and Archive Recordings With Expanded File Names
    tortise 
    tortise at paradise.net.nz
       
    Fri Oct 26 19:13:14 UTC 2012
    
    
  
On 26/10/2012 6:34 p.m., tortise wrote:
> On 26/10/2012 2:59 p.m., Michael T. Dean wrote:
>>> I now realise I can also make a file listing under the web server
>>> which makes for really quick navigation and selection on PC's without
>>> a frontend! Nice.
>>
>> Feel free to update the mythlink.pl page with a section on how to do
>> this, perhaps with an example.
>>
>
> OK, will do. Just need to get the crontab working properly first, it may
> be that running my command as root is causing the files to output as
> $1.mpg $2.mpg $3.mpg.....instead of my current preference of:
>
> /usr/share/doc/mythtv-backend/contrib/user_jobs/mythlink.pl --link
> /var/www/mythlinks --format '%T/%T-%Y%m%d-%H%i-%S'
Think I've debugged my issue, the crontab files need the "%" signs 
escaped. I now have this that runs on the hour on mythbuntu 10.04:
0 * * * *   {username} 
/usr/share/doc/mythtv-backend/contrib/user_jobs/mythlink.pl --link 
/var/www/mythlinks --format '\%T/\%T-\%Y\%m\%d-\%H\%i-\%S'
All my recordings start a minute early which is why on the hr is OK for 
me as the script takes a few seconds to run.  Anyone starting recordings 
on the hour might be better to make it run 1 minute past the hour. I'll 
see if I have any need for more often.
    
    
More information about the mythtv-users
mailing list