dtas.git  about / heads / tags
duct tape audio suite for *nix
blob 385c86337ac6758800cc2aea52f11ca5bbd94034 413 bytes (raw)
$ git show mpd:bin/dtas-mpd-emu	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 
#!/usr/bin/env ruby
# Copyright (C) 2015-2016 all contributors <dtas-all@nongnu.org>
# License: GPL-3.0+ <https://www.gnu.org/licenses/gpl-3.0.txt>
# frozen_string_literal: true

# MPD protocol emulation proxy in front of dtas-player
require 'socket'
require 'dtas/mpd_emu_client'
require 'dtas/server_loop'
l = TCPServer.new('127.0.0.1', 2100)
svc = DTAS::ServerLoop.new([l], DTAS::MpdEmuClient)
svc.run_forever

git clone git://80x24.org/dtas.git
git clone https://80x24.org/dtas.git