[mythtv-users] Using mythlink.pl in a system event.

Zarthan South zarthan at gmail.com
Wed Feb 8 23:07:14 UTC 2012

The value for me adding the link at the tail end of the conversion was that
I knew we could watch the show once the name became visible. We use
Logitech Revues as the frontend and since it has a handy browser we can now
delete the show from Mythweb. Having the cronjob run every 10 minutes seems
to keep everything tidy.

Thanks everyone for your comments and suggestions.

On Wed, Feb 8, 2012 at 2:52 PM, Jeremy Jones
<jeremy.dwain.jones at gmail.com>wrote:

> On Wed, Feb 8, 2012 at 10:56 AM, Zarthan South <zarthan at gmail.com> wrote:
> >
> > I have used mythlink as a cronjob and like you ran it once a night. I
> started adding it to the tail end of my job when I started plugging my
> converted recordings back into the database. It seemed like the thing to do
> ;) Since I play the recordings from the link name I was concerned that it
> might case playback issues if a generic mythlink run happened during
> playback. My conversion from mpeg2 to mp4 only takes 5 or 6  minutes for a
> half hour program so a recording is ready very quickly and we often want to
> watch them. Turns out a mythlink run doesn't have any effect at least so
> far and I just created a cronjob to run every 10 minutes.
> >
> > It doesn't seem to have any effect.
> >
> >
> I probably should have been more clear.  I run mythlink as a userjob,
> specifying the recording (specify the --chanid and --starttime
> arguments), which only adds the link for that one recording.  Then I
> run it again as a nightly cron job that deletes an re-creates all
> links, so as to get rid of orphaned symlinks due to a deleted
> recording.  Looking back, I see you are the OP on this thread; so glad
> you got it working.  If your recording library grows and it does start
> to be an issue, you may want to try my setup. Also, there is a way to
> run as a system event, but I would suspect that would be to create the
> new symlink upon the start of a recording, instead of upon the
> deletion as you were wanting to do in your OP.
> The only drawback I can see to running as a userjob to add the link
> and then again as a cron job to clean up the orphaned links, is that
> occasionally someone might attempt to play a file that was actually
> deleted earlier that day.
> I haven't heard a complaint at my house yet though :)
> Jeremy
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20120208/4c6083f5/attachment.html 

More information about the mythtv-users mailing list