From e46722b2ebe05fce63bc7b86100c159b5cadd297 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Fri, 27 Mar 2009 14:42:55 +0100 Subject: implements the smartstop feature The smartstop feature is a way to tell mpd to stop playing after current song. This patche provides: - 'state' command returns 'smartstop' state (1 or 0) - 'smartstop' can activate or not the smartstop state - when song is terminated, mpd stops playing and smartstop is set to 0 --- doc/protocol.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'doc/protocol.xml') diff --git a/doc/protocol.xml b/doc/protocol.xml index 8f5b4b9e8..fc833f7bf 100644 --- a/doc/protocol.xml +++ b/doc/protocol.xml @@ -216,6 +216,12 @@ 0 or 1 + + + smartstop: + 0 or 1 + + playlist: @@ -402,6 +408,21 @@ + + + + smartstop + STATE + + + + + Sets smartstop state to STATE, + STATE should be 0 or 1. + When smartstop is activated, playback is stopped after current song. + + + -- cgit v1.2.3