[vlc-devel] [PATCH}Added Force pause and Force resume in status.xml

akash mehrotra mehrotra.akash at gmail.com
Sun Apr 24 11:33:58 CEST 2011


Updated patch attached:

Added Force pause, force resume
Updated pl_pause to behave as in oldhttp


On Thu, Apr 21, 2011 at 5:20 PM, Rob <rob at hobbyistsoftware.com> wrote:

>
>
>  Added Force pause and Force resume in status.xml
>>
>
> force pause and force resume look useful.
>
> re toggle_pause
>
>  toggle pause. If current state was 'stop', play item <id>:
>> ?command=pl_pause&id=<id>
>>
>
> I don't like this approach of asking for an id that will only be used in
> certain circumstances. I think old http approach of letting vlc figure out
> what to play was much better.
>
> in oldhttp
> 1) the current item in the playlist (the last one playing) is still marked
> as current even when play is stopped (requests/playlist.xml)
> (luahttp discards the 'current' marker when play is stopped).
>
> 2) pl_pause will start play with the current item
>
> 3) as a fallback, if no item is 'current' then the first item in the
> playlist should be played
> at the moment, the fallback is never needed; Even if items are enqueued
> rather than being played, vlc marks the first item as 'current'.
>
>
> cheers,
>
> Rob
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110424/90bc10c7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-Force-pause-force-resume.patch
Type: text/x-patch
Size: 2052 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110424/90bc10c7/attachment.bin>


More information about the vlc-devel mailing list