http://world.std.com/~mruelle/pub/freevo/commands.py

it should be added to freevo soon.

please note there is no way to send args to the program. it must be able
to be run with no command line parameters.

install instructions:

- designate a freevo commands directory to run arbitrary commands (shell
script, python script, executables, whatever)
- captures the stdout and stderr of the command to freevo log directory
in two files called command_stdout.log and command_stderr.log
- shows a popup that displays success or failure based on the exit
status of the program. (0 is good, everything else bad)

to run add the following to your local_conf.py:

plugin.activate('commands', level=45)
COMMANDS_DIR = '/usr/local/freevo_data/Commands'

then copy the commands.py file to ${FREEVO_DIR}/src/plugins/

-- 
Mike Ruelle
[EMAIL PROTECTED]
http://world.std.com/~mruelle/

On Sat, 2003-07-26 at 12:47, Matt McLeod wrote:
> I've been poking around freevo for a while now.  As I understand it,
> the next major release of tvtime is due to include DVB support, but
> in the meantime it'd be nice to let Freevo provide a simple front-end.
> 
> So, a question before I get too far ahead of myself:
> 
> Is there some mechanism to allow the creation of a menu with
> items that run arbitrary commands?  e.g., could one create a menu
> with a bunch of items that run "dvbstream <args> | mplayer <args>"?
> That would make it fairly easy to add basic support for watching
> "live" DVB-t programmes.
> 
> I've read through Docs/freevo_XML_data.dtd, and it doesn't suggest
> anything obvious.  How about specifying a command rather than a filename
> anywhere an audio/video filename can be given?  The command is run, and
> the output piped to mplayer with whatever is in mplayer-options?
> 
> Would this require a great deal of work to implement?  If I knew more
> (any!) Python I'd take a shot at it, but as things stand anything I
> come up with will be an evil hack not worthy of inclusion.
> 
> Matt




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to