From f13f841d0c078ff31c632221fee043915ab86621 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 14 Dec 2015 04:35:19 +0000 Subject: dtas-tl edit: fix ordering of newly-added songs We need to add new songs in reverse order of what's in the file to preserve ordering when they're added after an existing ID. This way we don't have to remember the track we just added, either. --- bin/dtas-tl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dtas-tl b/bin/dtas-tl index fd5ced9..b682e2b 100755 --- a/bin/dtas-tl +++ b/bin/dtas-tl @@ -86,7 +86,7 @@ def do_edit(c) orig.each do |track_id| edit_idx[track_id] or c.req("tl remove #{track_id}") end - add.each do |path, after_id| + add.reverse_each do |path, after_id| cmd = %W(tl add #{path}) cmd << after_id.to_s if after_id c.req(cmd) -- cgit v1.2.3-24-ge0c7 From 45cc4780b2d4fa38ba6f451a7fc2c9a731ca09f2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 14 Dec 2015 07:02:07 +0000 Subject: dtas 0.12.1 - one bugfix! :x One bugfix on top of dtas 0.12.1 dtas-tl edit: fix ordering of newly-added songs Everything else in the v0.12.0 release stil applies: http://80x24.org/dtas-all/20151214-dtas-0.12.0-unle@shed/t/ Have fun! --- GIT-VERSION-GEN | 2 +- INSTALL | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN index d999a80..5326ecd 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -4,7 +4,7 @@ CONSTANT = "DTAS::VERSION" RVF = "lib/dtas/version.rb" GVF = "GIT-VERSION-FILE" -DEF_VER = "v0.12.0" +DEF_VER = "v0.12.1" vn = DEF_VER # First see if there is a version file (included in release tarballs), diff --git a/INSTALL b/INSTALL index 11aa932..ec20e3a 100644 --- a/INSTALL +++ b/INSTALL @@ -40,10 +40,10 @@ For future upgrades of dtas (upgrades to dtas-linux will be infrequent) Grab the latest tarball from our HTTP site: - http://dtas.80x24.org/2015/dtas-0.12.0.tar.gz + http://dtas.80x24.org/2015/dtas-0.12.1.tar.gz - $ tar zxvf dtas-0.12.0.tar.gz - $ cd dtas-0.12.0 + $ tar zxvf dtas-0.12.1.tar.gz + $ cd dtas-0.12.1 $ sudo ruby setup.rb GNU/Linux users may optionally install "io_splice" and -- cgit v1.2.3-24-ge0c7