[mythtv-commits] Ticket #5379: enhancement to mythrename.pl to rename a single recording
MythTV
mythtv at cvs.mythtv.org
Fri Feb 5 03:11:24 UTC 2010
#5379: enhancement to mythrename.pl to rename a single recording
----------------------------------------+-----------------------------------
Reporter: johan@… | Owner: mdean
Type: enhancement | Status: closed
Priority: minor | Milestone: 0.23
Component: Contributed Scripts & Apps | Version: 0.21
Severity: low | Resolution: fixed
Mlocked: 0 |
----------------------------------------+-----------------------------------
Changes (by mdean):
* status: accepted => closed
* resolution: => fixed
Comment:
(In [23479]) Modify mythlink.pl to allow creating a symlink for a specific
recording file using the --filename or --chanid and --starttime arguments.
This allows the script to be used as a proper user job or--even better--to
be used in conjunction with the "Recording started" event in the new
event-driven notification system so links are created as soon as the
recordings start.
Note that when specifying --filename or --chanid and --starttime, deletion
of old symlinks (other than the one for the specific file) is suppressed.
Therefore, anyone using this script in a user job or with the event system
should still run the script occasionally without the --filename or
--chanid and --starttime arguments to allow removal of links that referred
to recordings since deleted.
The --filename argument can use either the absolute path of the file or
the recording file's basename. The --starttime argument can use either
the MythTV time format (yyyy-MM-ddThh:mm:ss), the ISO time format (yyyy-
MM-dd hh:mm:ss), or the "job queue" time format (yyyyMMddhhmmss). The
--chanid uses the channel ID format.
Thanks to Johan Godfried for the initial patch. Fixes #5379 with a
slightly modified version of the patch on the ticket.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5379#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list