[mythtv-users] Batch Download and Archive Recordings With Expanded File Names

tortise tortise at paradise.net.nz
Fri Oct 26 05:34:35 UTC 2012


On 26/10/2012 2:59 p.m., Michael T. Dean wrote:
> On 10/25/2012 05:12 AM, tortise wrote:
>> On 25/10/2012 1:10 p.m., Michael T. Dean wrote:
>>> Use mythlink.pl to create a directory of symlinks with the desired
>>> format, then copy those "links" to the drive (using cp or--my
>>> preference--rsync -av --progress) while dereferencing the links and
>>> you'll have a bunch of files with the desired names...
>>
>> That is so damned cool... Thank you. I did know of mythlink but I had
>> incorrectly thought the symbolic file names would only copy the links
>> - without the underlying file....
>>
>> Ref: http://www.mythtv.org/wiki/Mythlink.pl
>>
>> 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'

which is the essence of what I'd put on the page...

>>
>> Seems mythlink.pl has not got to 0.26 yet, presumably due to the TZ
>> changes.
>
> It doesn't work with 0.26?  In theory it should since the Perl bindings
> were updated...  What do you see?  (I'll try to test it within a week or
> so.)

My apologies, I was going by the fact that the web page did not refer to 
0.26, I'm not running 0.26.




More information about the mythtv-users mailing list