From 1a63ca046d42dc9d35fe656c034e0c791834ae67 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 7 Dec 2015 11:04:32 +0000 Subject: player: tl (repeat|shuffle|max) and trim swap values It makes more sense to return the previous value rather than the newly-set one, since the user presumably knows what they're setting and might care about the previous value. --- Documentation/dtas-player_protocol.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Documentation') diff --git a/Documentation/dtas-player_protocol.txt b/Documentation/dtas-player_protocol.txt index e6466b7..7315411 100644 --- a/Documentation/dtas-player_protocol.txt +++ b/Documentation/dtas-player_protocol.txt @@ -284,10 +284,10 @@ Commands here should be alphabetized according to `LC_ALL=C sort' * tl repeat [BOOLEAN|1] - show/or change repeat status of the tracklist. With no args, this will show "true", "false", or "1" If set to "1", dtas-player will repeat the current track. - Returns current repeat status. + Returns the previous repeat status. * tl shuffle [BOOLEAN] - show/or change the current shuffle status of - the tracklist + the tracklist. Returns the previous shuffle status. * tl tracks returns a list of all TRACKIDS in the tracklist -- cgit v1.2.3-24-ge0c7