[mythtv-commits] Ticket #4932: mythrename.pl should truncate the basename to ensure it fits in the recorded table

MythTV noreply at mythtv.org
Mon Apr 25 04:13:50 UTC 2011


#4932: mythrename.pl should truncate the basename to ensure it fits in the
recorded table
----------------------------------------+-------------------------
 Reporter:  anonymous                   |          Owner:  mdean
     Type:  defect                      |         Status:  new
 Priority:  minor                       |      Milestone:  0.23
Component:  Contributed Scripts & Apps  |        Version:  unknown
 Severity:  medium                      |     Resolution:
 Keywords:                              |  Ticket locked:  0
----------------------------------------+-------------------------
Changes (by jjones@…):

 * status:  closed => new
 * resolution:  wontfix =>


Comment:

 I know this was closed for good reason, and that it was opened before
 mythrename was changed over to mythlink, but I think this would still be a
 helpful fix.  Maybe it should be viewed not as a defect, but rather an
 enhancement. If there is a way to do this within the perl script itself, I
 would be glad to work on the coding, but it looks like the script is using
 a function that is built into mythtv for actually naming the symlinks.
 If, however, the perl script could retrieve the information for the
 symbolic link name, then I may be able to add the code to truncate the
 name based on a passed argument for the truncate length. That way we are
 not overly complicating the script by trying to check for possible errors
 based on possible filesystems.

 As stated before I will take a stab at the coding for the passing of a new
 argument and the truncation, if I could get some help in the area of
 retrieving the symbolic link name.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/4932#comment:6>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list