bongo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bongo-devel] VLC problems on w32


From: Dieter Deyke
Subject: Re: [bongo-devel] VLC problems on w32
Date: Sun, 04 Feb 2007 22:10:15 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (windows-nt)

Daniel Brockman <address@hidden> writes:

> Okay, well, Bongo should send a `quit' command to VLC when
> it sees that last line.
>
>              ((looking-at (eval-when-compile
>                             (rx (and line-start
>                                      (optional
>                                       (and "[" (zero-or-more digit) "]"))
>                                      (zero-or-more space)
>                                      "main playlist: nothing to play"
>                                      line-end))))
>               (process-send-string process "quit\n"))
>
> So the question is, is that regular expression failing to
> match or is the `quit' command not working?
>
> Idea:  Perhaps we need to send "quit\r\n" on W32.
>
> Considering that `process-send-string' is giving you errors
> when you try to pause, though, I suspect the quit command is
> not even being issued.
>
> I mean, why wouldn't sending "quit\n" to the process give a
> similar error to sending "pause\n"?
>
> Maybe try adding that carriage return to the quit command.
> If that doesn't do anything, check whether or not the quit
> command is being sent to the process (for example, by putting
> `(error "foo")' right before the call to `process-send-string').
>
> If it's not being sent, maybe the regular expression is
> wrong or maybe Bongo in fact does not see any of the output.
>
> Thank you for your help so far.  If you don't feel like
> debugging this any further, I could probably find a computer
> with Windows myself some time.

Sending "quit\r\n" did not help.

I changed the code to

                                     line-end))))
              (print "about to send quit")
              (process-send-string process "quit\r\n"))

and the "about to send quit" did get displayed, but vlc did not quit.

Is there more I can check tomorrow?

Thanks for all your help so far,
-- 
Dieter Deyke
mailto:address@hidden mailto:address@hidden mailto:address@hidden
Vs lbh pna ernq guvf, lbh unir jnl gbb zhpu gvzr.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]