[mythtv] Mythlink.pl

Michael T. Dean mtdean at thirdcontact.com
Tue Apr 26 19:33:01 UTC 2011


On 04/25/2011 01:10 AM, Jeremy Jones wrote:
>
> I am having trouble with mythlink on a particular recording, because 
> the name of the symbolic link is too long. I was wondering if there 
> was a simple change to allow the user to pass a length to the script 
> to limit or truncate the symbolic link name to.  If the naming of the 
> symbolic link is done in the perl script, then I think I could learn 
> enough perl to add this, but it looks like the name is created by a 
> referenced module of mythtv instead.  Is there a way to retrieve the 
> information on the name that is to be written and then modify it 
> before the creation of the symbolic link?
>
>

Here's a bit of a hack.

I'll put something like it in soon (though I may clean up some of the 3x 
copy/paste reuse).

I'm guessing to get a name long enough to reach any file system limits 
(even for the MS file systems), you're putting description in the 
filename, right?  Is that really what you want to do?

Mike
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mythtv-mythlink-add_maxlength_argument.patch
Url: http://www.mythtv.org/pipermail/mythtv-dev/attachments/20110426/9af2150e/attachment.pl 


More information about the mythtv-dev mailing list