Date: Tue, 12 Nov 2002 21:31:46 -0800 From: Nathan Kinkade <nkinkade@dsl-only.net> To: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: OT: <select></select> and Java to play "xmms <whatever SELECTED>" Message-ID: <20021113053146.GE72253@sub21-156.member.dsl-only.net> In-Reply-To: <20021113044827.GA82595@tao.thought.org> References: <20021113044827.GA82595@tao.thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 12, 2002 at 08:48:27PM -0800, Gary D Kline wrote:
> Hi Gang,
>
> I've been wedged the past several nights trying to get a
> very simple FORM SELECT OPTION to exec xmms or zinf that points
> to a file or URL. Looks like using Java is the only way to
> go and that means getting my feet wet in the Java world.
>
> So far I've found small smaple scripts that, when you have a
> down-down menu, and choose one, the browser goes to the URL
> selected. (This thru the window.open() call, I think.)
> Is there a Java function like: local.exec("<string">) that I
> could use to point one of my mp3 players at a streaming
> site?
>
> Thanks for any clues; sorry for the way off-topic subject, but
> lots of web-wizards hang out here.
>
> gary
>
> PS: There are many non-web ways of doing this, I realize... .
>
>
>
> --
> Gary Kline kline@thought.org www.thought.org Public service Unix
Are you trying to do something funny that a proper MIME configuration
would take care of? For example, when your httpd serves up the file
tell it to give a MIME type of something like "audio/mpeg"...then
configure your browser to launch xmms when it receives a file of type
'audio/mpeg'....to be on the safe side, you might want to configure the
browser to also associate .mp3 and such with xmms.
Nathan
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021113053146.GE72253>
