From 12a86c49759f36c20dbd61317fd4bc2508eb30eb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 15 Oct 2019 17:00:16 +0200 Subject: queue/PlaylistEdit: fix relative destination offset when moving a range Commit 13208bf5a7c91a6406195139f1068f173ccdac94 added range support to the `move` command, but applied the wrong offset to the `to` variable. When the source range is before the current song, and the song thus gets decremented by the range size, then the final destination offset must also be decremented by the range size. Closes https://github.com/MusicPlayerDaemon/MPD/issues/663 --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 48a489178..92d8df17f 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ ver 0.21.16 (not yet released) +* queue + - fix relative destination offset when moving a range * storage - curl: request the "resourcetype" property to fix database update - curl: URL-encode more paths -- cgit v1.2.3