
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Fri, Apr 27, 2001 at 02:41:59AM +0200, Samuel Hocevar wrote:
>    Be careful about stdout, since vlc uses it for message output.
well, avifile uses stdout for debug/errors as well so if the parser knows that
it should ignore everything unknown, it works.

>   Have you considered using a control fifo instead ? mknod /tmp/vlc_control,
>   and communicate through this pipe. Just a thought.
Well for what I need my experience tells me to prefer stdin/stdout :-)

>    The plugin type you are going to need is an interface plugin.
> My suggestion is to start with the dummy plugin (copy dummy.c and
> intf_dummy.c), and add stuff to it by studying what the gtk or gnome
> plugins do.
ok I did some work and attaching a plugin called "rc" (remote control) with
basic functions implemented:

- activate with vlc -I rc [blahblah]
- displays position when changed
- usage: command<ENTER>
- commands:
- q - quit
- p - pause
- f - toggle fullscreen
- r234324 - seek to 234324th second
- (not implemented) s - stop, m - maximize

I took the main code directly from aviplay so it's tested (and I based that
one on mpg123 :-))

tested on vlc 0.2.72

Please report bugs. Oh yeah and in order to compile you have to add a few
lines to "configure".

> > And the question: if I write this, will it be integrated into main distro?
>    Well the decision doesn't belong to me, but if it's useful and well
> written, I think it'll have great chances to be integrated.
"your mileage may vary" you say? :-)

> > Oh yeah and I'll probably borrow some stuff from the dvd-ioctl part if you
> > don't mind (need that for the jukebox too) :-)
>    Feel free to do anything with the code (mind the GPL requirements
> though).
sure thing.

> Sam.
Bye,

Peter Surda (Shurdeek) <surda@bigfoot.com>, ICQ 10236103, +436505122023

--
                   It's not a bug, it's tradition!


-- Binary/unsupported file stripped by Listar --
-- Type: application/octet-stream



-- Attached file included as plaintext by Listar --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE66RE+58v/xmvpb7ERAh51AJwOmwp8NqPauaWHDbVV02hgVmsUigCff7bI
dkWp5BfIyp4x7EoWdC8FcJQ=
=xgJI
-----END PGP SIGNATURE-----



