everything related to duct tape audio suite (dtas)
 help / color / mirror / Atom feed
From: Eric Wong <e@80x24.org>
To: dtas-all@nongnu.org
Subject: tracklist changes pushed out, release coming...
Date: Mon, 7 Dec 2015 11:14:05 +0000
Message-ID: <20151207111405.GA2633@dcvr.yhbt.net> (raw)

Pushed out a bunch of tracklist-related changes to "master" of

Eric Wong (4):
      tracklist: shuffle support
      tracklist: support limiting maximum tracklist size
      player: refactor and document tracklist interface
      player: tl (repeat|shuffle|max) and trim swap values

 Documentation/dtas-player_protocol.txt |   8 +-
 lib/dtas/player/client_handler.rb      | 193 ++++++++++++++++++++-------------
 lib/dtas/tracklist.rb                  | 108 ++++++++++++++----
 test/test_tracklist.rb                 |  37 +++++++
 4 files changed, 250 insertions(+), 96 deletions(-)

Will probably release the current tree in a day or two with a few minor
tweaks, and have the mpd emulation proxy as a separate release in a few
more weeks.

The work-in-progress "mpd" branch is also pushed and
will be frequently rebased against master.

There's actually a lot of documentation stuff I'll need to catch
up on for the release.  I tend to be better at writing commit messages

And so, commit messages available below:

commit 1a63ca046d42dc9d35fe656c034e0c791834ae67
Author: Eric Wong <e@80x24.org>
Date:   Mon Dec 7 11:04:32 2015 +0000

    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.

commit ebf129cb0e067c204343bfdd3c73c38abae7f335
Author: Eric Wong <e@80x24.org>
Date:   Mon Dec 7 10:43:07 2015 +0000

    player: refactor and document tracklist interface

    The dpc_tl method was becoming too large, split it up into
    sub-methods for easier readability.  While we're at it,
    at least make "tl repeat" consistent with "tl shuffle"
    when setting new values.

commit b08fe09e296524daf4de7ed16e0bed224f5008a2
Author: Eric Wong <e@80x24.org>
Date:   Mon Dec 7 09:50:26 2015 +0000

    tracklist: support limiting maximum tracklist size

    This defaults to 16384?  This is what mpd uses by default as well.
    Of course folks interacting with dtas-player directly can override

    	dtas-tl max INTEGER
    	dtas-tl max

    This is NOT meant to be a hard security measure for local users
    talking to dtas-player directly.  It is only to prevent
    accidentally stupid things like flooding the playlist with
    a broken script and to prevent remote users from DoS-ing
    us via the to-be-written mpd proxy/emulation layer.

    Remember: dtas-player itself will ALWAYS remain capable of
    executing arbitrary code :)

commit 3e013d3f24f0f935dce985d4c6bd155889e05dbb
Author: Eric Wong <e@80x24.org>
Date:   Mon Dec 7 03:51:33 2015 +0000

    tracklist: shuffle support

    This is in the MPRIS 2.0 TrackList spec and also in mpd (as "repeat"
    mode), so we can probably support it directly in player to ease
    implementations of future wrappers.


                 reply	other threads:[~2015-12-07 11:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://80x24.org/dtas/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151207111405.GA2633@dcvr.yhbt.net \
    --to=e@80x24.org \
    --cc=dtas-all@nongnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

everything related to duct tape audio suite (dtas)

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://80x24.org/dtas-all
	git clone --mirror http://ou63pmih66umazou.onion/dtas-all

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 dtas-all dtas-all/ https://80x24.org/dtas-all \
	public-inbox-index dtas-all

Example config snippet for mirrors.
Newsgroups are available over NNTP:
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for the project(s) associated with this inbox:


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git