[vlc-devel] [PATCH] Added new commands in share/http/status.xml

Mirsal Ennaime mirsal at mirsal.fr
Tue Mar 29 10:21:14 CEST 2011


Hello,

On Mon, 2011-03-28 at 23:01 +0300, Rémi Denis-Courmont wrote:
> Le samedi 26 mars 2011 19:52:13 akash mehrotra, vous avez écrit :
> > Added pl-forceplay, pl_forcepause, pl_resume to oldhttp interface
> > 
> > Updated the relevant readme file
> > pl_forcepause
> >  pause playback, do nothing if paused
> > 
> > pl_resume
> >  resume playback, do nothing if playing

As far as I have seen, commands like these ones have proven to be very
useful to remote controllers in the case of the MPRIS.

> How about a pl_setpause that accepts a boolean value? I think there's already 
> something along those lines in MPRIS.

Actually, we have Pause() which is equivalent to pl_forcepause, Play()
(roughly like pl_resume) and PlayPause() (pauses when playing, resumes
when paused)

see: http://www.mpris.org/2.1/spec/Player_Node.html

(sorry if this is a bit off-topic, I do not wish to hijack this thread)

-- 
mirsal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110329/88f7001c/attachment.sig>


More information about the vlc-devel mailing list