Results 1 to 3 of 3

Thread: bugfix for mfs_ftp.tcl

  1. #1
    Join Date
    Aug 2006
    Posts
    98

    bugfix for mfs_ftp.tcl

    line 245 needs to be
    Code:
    set info($fsid,ldate) [clock format $recsec -format "%b %2d %H:%2M" ]

    If anyone is intereted in a new format which I added to proc calc_tertiary_info { fsid }
    Code:
     default {
          set ETitle "$info($fsid,EpisodeTitle)"
          if { $ETitle != "" } {
              set ETitle " \{$ETitle\}"
          }
          set info($fsid,rec_filename) "$S$info($fsid,Title) \{$oad\}$ETitle \{$recdate\}"
       }

  2. #2
    Join Date
    Jun 2001
    Posts
    707
    Perhaps you could elaborate and tell us what this fix fixes? Or what the new format does that the stock mfs_ftp does not?

  3. #3
    Join Date
    Aug 2006
    Posts
    98
    Code:
    set info($fsid,ldate) [clock format $recsec -format "%b %2d %H:%2M" ]
    This is a bug fix. Which would displays the date (recording date) correctly on the files in the FTP client. else most of the shows recorded in the evening (PM) are displayed as recorded in the morning (AM) which is 12 hrs off.

    And the following format is my pesonal preference which gets rid of the EpisodeTitle if none is present instead of showing an "{}" in the file name.
    Code:
    default {
          set ETitle "$info($fsid,EpisodeTitle)"
          if { $ETitle != "" } {
              set ETitle " \{$ETitle\}"
          }
          set info($fsid,rec_filename) "$S$info($fsid,Title) \{$oad\}$ETitle \{$recdate\}"
       }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •