[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bongo-devel] VLC problems on w32
From: |
Daniel Brockman |
Subject: |
Re: [bongo-devel] VLC problems on w32 |
Date: |
Mon, 05 Feb 2007 06:01:51 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux) |
Dieter Deyke <address@hidden> writes:
> Well, after all these changes things have changed a little:
>
> - the DOS windows is now gone thanks to the new argument to vlc
OK.
> - the space bar now does nothing, no error, no action
>
> - the || pause button is still missing from the mode line
>
> - vlc still hangs after a song is played, and does not advance to the next
What if you try this patch?
--- old-bongo/bongo.el 2007-02-05 06:12:41.000000000 +0100
+++ new-bongo/bongo.el 2007-02-05 06:12:41.000000000 +0100
@@ -4650,14 +4650,14 @@
(when (not (bongo-player-interactive-p player))
(error (concat "This VLC process is not interactive "
"and so does not support pausing")))
- (process-send-string (bongo-player-process player) "pause\n"))
+ (process-send-string (bongo-player-process player) "pause\r\n"))
(defun bongo-vlc-player-seek-to (player seconds)
(when (not (bongo-player-interactive-p player))
(error (concat "This VLC process is not interactive "
"and so does not support seeking")))
(process-send-string (bongo-player-process player)
- (format "seek %f\n" (max seconds 0)))
+ (format "seek %f\r\n" (max seconds 0)))
(bongo-player-sought player seconds))
(bongo-define-obsolete-function-alias
@@ -4676,10 +4676,10 @@
((and (not (bongo-player-paused-p player))
(null (nthcdr 4 (bongo-player-get player 'pending-queries))))
(let ((process (bongo-player-process player)))
- (process-send-string process "get_time\n")
+ (process-send-string process "get_time\r\n")
(bongo-player-push player 'pending-queries 'time)
(when (null (bongo-player-total-time player))
- (process-send-string process "get_length\n")
+ (process-send-string process "get_length\r\n")
(bongo-player-push player 'pending-queries 'length))))))
(defun bongo-vlc-player-start-timer (player)
@@ -4705,8 +4705,7 @@
"play state:"
(zero-or-more space)
(submatch (one-or-more digit))
- (zero-or-more (or space ")"))
- line-end))))
+ (zero-or-more (or space ")"))))))
(case (string-to-number (match-string 1))
(1 (bongo-player-put player 'paused nil)
(bongo-player-paused/resumed player)
@@ -4719,14 +4718,12 @@
(optional
(and "[" (zero-or-more digit) "]"))
(zero-or-more space)
- "main playlist: nothing to play"
- line-end))))
- (process-send-string process "quit\n"))
+ "main playlist: nothing to play"))))
+ (process-send-string process "quit\r\n"))
((looking-at (eval-when-compile
(rx (and line-start
(submatch (one-or-more digit))
- (zero-or-more space)
- line-end))))
+ (zero-or-more space)))))
(when (bongo-player-get player 'pending-queries)
(let ((value (string-to-number (match-string 1))))
(ecase (bongo-player-shift player 'pending-queries)
--
Daniel Brockman <address@hidden>
- [bongo-devel] VLC problems on w32, Dieter Deyke, 2007/02/04
- Re: [bongo-devel] VLC problems on w32, Daniel Brockman, 2007/02/04
- Re: [bongo-devel] VLC problems on w32, Dieter Deyke, 2007/02/04
- Re: [bongo-devel] VLC problems on w32, Daniel Brockman, 2007/02/04
- Re: [bongo-devel] VLC problems on w32, Dieter Deyke, 2007/02/04
- Re: [bongo-devel] VLC problems on w32, Daniel Brockman, 2007/02/04
- Re: [bongo-devel] VLC problems on w32, Dieter Deyke, 2007/02/04
- Re: [bongo-devel] VLC problems on w32, Daniel Brockman, 2007/02/04
- Re: [bongo-devel] VLC problems on w32, Dieter Deyke, 2007/02/05
- Re: [bongo-devel] VLC problems on w32,
Daniel Brockman <=
- Re: [bongo-devel] VLC problems on w32, Dieter Deyke, 2007/02/05
- Re: [bongo-devel] VLC problems on w32, Daniel Brockman, 2007/02/05
- [bongo-devel] Re: VLC problems on w32, Dieter Deyke, 2007/02/05
- Re: [bongo-devel] Re: VLC problems on w32, Daniel Brockman, 2007/02/05
- Re: [bongo-devel] Re: VLC problems on w32, Dieter Deyke, 2007/02/05
- Re: [bongo-devel] Re: VLC problems on w32, Daniel Brockman, 2007/02/05
- Re: [bongo-devel] Re: VLC problems on w32, Dieter Deyke, 2007/02/05
- Re: [bongo-devel] Re: VLC problems on w32, Daniel Brockman, 2007/02/06
Re: [bongo-devel] VLC problems on w32, Daniel Brockman, 2007/02/04