[mythtv-commits] Ticket #3429: Use recstartts for formatted names in Perl bindings
MythTV
mythtv at cvs.mythtv.org
Mon May 7 21:18:49 UTC 2007
#3429: Use recstartts for formatted names in Perl bindings
----------------------------------------------+-----------------------------
Reporter: sphery <mtdean at thirdcontact.com> | Owner: xris
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: perl / nuvexport | Version: head
Severity: medium |
----------------------------------------------+-----------------------------
The attached patch, mythtv-perl_bindings-
use_recstartts_for_formatted_names.patch , patches the Perl bindings to
use recstartts (recording start time) for the formatted file names rather
than using starttime (the scheduled program start time) (see, also,
#3426). This means that rather than having multiple links/file with
identical names save a "counter", we would actually create names
appropriate for the recording file (i.e. 20070506-2004-2030-_The_Simpsons-
_Crook_and_Ladder.mpg for my recording which started 4 minutes late due to
technical issues and, had I had a crash during recording causing a 2nd
part, I could have had 20070506-2012-2030-_The_Simpsons-
_Crook_and_Ladder.mpg or something, also). Generally speaking, too, the
counter (i.e. "-1" and "-2" is out of order, so -2 is often the first part
of the show and -1 is the second. Therefore, I feel that just using
recstartts for filenames--which will also cause them to be ordered
properly--is appropriate.
If, however, removing the ability to use program start/end time (i.e. by
forcing the use of recording start/end time) is not desired, let me know
and I'll add an additional option like we have for endtime. My
recommendation would be to use recording start time (recstartts) by
default unless the user asks for program start time (starttime) (i.e. by
prepending "p" to the appropriate time/date format code for recording
start/end time).
However, I have a feeling allowing the user to specify program start time
will cause many repeats of #3426, but--rather than reporting a real bug--
these future tickets will be invalid tickets created due to user
error/misunderstanding. Then again, always using recstartts is likely to
cause many questions about why mythrename says the Simpsons started at
7:59 PM or something. Therefore, I'll defer the choice of which approach
to take (force use of recstartts, default to recstartts but allow
starttime, or default to starttime but allow recstartts) to the one who
will close future invalid tickets.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3429>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list