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

Michael T. Dean mtdean at thirdcontact.com
Tue Feb 7 18:05:45 UTC 2012


On 02/07/2012 12:41 PM, Jeremy Jones wrote:
> On Tue, Feb 7, 2012 at 10:18 AM, Zarthan South wrote:
>> Thanks
>> The only reason I had for wanting to delete the individual links was
>> thinking that recreating the links might disturb an in progress video
>> playing. I will add mythlink to a system event and see what happens.
> FWIW, I am (and some others here as well)  running mythlink as a cron job
> instead of a system event.  Mine is set to run nightly, and I've never
> noticed a link that didn't work, but it is possible I guess.
>
> Still, I am not sure if the deletion of a symlink would affect in progress
> video playback.  Would you mind posting back after you have tried it? Or if
> anyone else already knows?  Or is it different depending on the player
> reading the file?

I think he's concerned about overloading the backend--either I/O wait 
due to database access or filesystem access caused by deleting all the 
links, then re-creating them--causing problems with the backend's 
ability to write the recording and/or seek table and/or stream the 
recording to a frontend...

I think mythlink.pl is still low-resource enough that it shouldn't be an 
issue, though.  (It seemed to be even on my old Athlon XP 1700+ 
backend.  I haven't had a problem since we removed the code from the 
bindings that "played" every recording with mplayer to get video 
information.)  Please let us know if that's not the case on your system.

Mike


More information about the mythtv-users mailing list