From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-09v.sys.comcast.net (resqmta-ch2-09v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:41]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 901227ACAF for ; Mon, 13 Apr 2015 09:36:01 -0700 (PDT) Received: from resomta-ch2-19v.sys.comcast.net ([69.252.207.115]) by resqmta-ch2-09v.sys.comcast.net with comcast id FUZQ1q0032VvR6D01Ub3K6; Mon, 13 Apr 2015 16:35:03 +0000 Received: from eklhad ([IPv6:2601:4:5380:4ee:21e:4fff:fec2:a0f1]) by resomta-ch2-19v.sys.comcast.net with comcast id FUb21q00B5LMg2101Ub2ry; Mon, 13 Apr 2015 16:35:02 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: edbrowse/3.5.3+ Date: Mon, 13 Apr 2015 12:35:02 -0400 Message-ID: <20150313123502.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1428942903; bh=cPw9m+0XaUV+saRzh/13EUnVj9kiZP4v2DmCmie4+VU=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=dioP3kfsb9DCsqKT4iJdViXhQbweGnwT2rokzdOKlQN1kZPXVNVBLiX/hZWk3QrI6 W1XAtncjOOfORDXd6z8/0upKfU2ZRKON6/mtHX48L2yu5YWJrA1Y+BOIDDGSEan6jZ iNT4l84wVPg3GyX/RhEADoPcGpPfD1i30/gRv9+qiLD+PKRzkH8NJy8Q5ov/oFb/pE fqVWuHjIzOWpHZ9WkjqLJRShoYiAWXZ3Jubuh3ClCJgoD/YmZmAwPaGJ/NJF6mT/c7 uDv5gF4bzGy0QJ9cpTTnRIKFi6uP1NufaV0w1HZ18KvYEL5Sj5hxlVynYAFlHvdCEd M3DvhIN4jciUA== Subject: [Edbrowse-dev] Play Commands X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2015 16:36:02 -0000 New and/or modified play commands are described here, as of the latest push. These are not yet documented. I'm waiting for the interface to settle down a bit before I muck with the users guide. Here are the mimes from my config. A new syntax in the command is %i for the input file, and %o for the output file, the latter not yet implemented. A temp output file might be employed when calling a pdf converter or rich text converter or some such. Which brings up the point that there are really two types of plugins here, though they both look similar in syntax. One "plays" a file or buffer for your enjoyment, the other renders the buffer as part of the browse command. mpg123 is the former, pdf to html is the latter. Anyways, here's what I have, with the new %i syntax. mime { type = audio/basic desc = audio file in a wave format suffix = wav,voc,au,ogg content = audio/x-wav program = play -q %i } mime { type = audio/mp3 desc = audio file in mp3 format suffix = mp3 content = audio/mpeg program = mpg123 -q -C %i } mime { type =