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 --- src/queue.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/queue.h') diff --git a/src/queue.h b/src/queue.h index 7f46c2e19..63b71d199 100644 --- a/src/queue.h +++ b/src/queue.h @@ -81,6 +81,9 @@ struct queue { reached? */ bool repeat; + /** stop playing after that song. */ + bool smartstop; + /** play back songs in random order? */ bool random; -- cgit v1.2.3