[vlc-devel] [PATCH}Added Force pause and Force resume in status.xml
rob at hobbyistsoftware.com
Mon Apr 25 13:25:08 CEST 2011
I like the logic now.
Tested on Mac OS.
On Sun, 24 Apr 2011 10:33:58 +0100, akash mehrotra
<mehrotra.akash at gmail.com> wrote:
> 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>:
>> 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
>> what to play was much better.
>> in oldhttp
>> 1) the current item in the playlist (the last one playing) is still
>> 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'.
More information about the vlc-devel