[mythtv-users] executing shell command when MythVideo is selected

Edward Rosinzonsky ed at entetel.com
Mon Jun 6 23:46:23 UTC 2005


Let me rephrase that.  I want to run a shell command right before the video
library is loaded.  Not before playing a video.

Sorry for the vague question.

-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Michael T. Dean
Sent: Monday, June 06, 2005 4:24 PM
To: Discussion about mythtv
Subject: Re: [mythtv-users] executing shell command when MythVideo is
selected

Edward Rosinzonsky wrote:

> Does anyone know of a way to execute a shell command whenever 
> MythVideo is run? A second 'ACTION' in library.xml perhaps?
>
Player Command (all one line):

/path/to/my/script_to_run_before ; xine --no-splash --auto-play=fhq %s ; 
/path/to/my/script_to_run_after

Also works with MPlayer. ;)

Mike



More information about the mythtv-users mailing list