Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2002 22:59:23 -0800
From:      Adam Weinberger <adamw@FreeBSD.ORG>
To:        Gary D Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: OT: <select></select> and Java to play "xmms <whatever SELECTED>"
Message-ID:  <20021113065923.GY35297@vectors.cx>
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
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm not a Java fan/advocate/sympathizer/whatever, but:

>> (11.12.2002 @ 2048 PST): Gary D Kline said, in 0.9K: <<
> 	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.

Take 2 steps to the right, and then go about 40 steps back, and just put a
mime handler into your browser for audio/mpeg or audio/x-mpeg or
whatever. What you're trying to do is, well, impressive, but overkill.

Which browser are you using?

> 	Is there a Java function like: local.exec("<string">) that I
> 	could use to point one of my mp3 players at a streaming 
> 	site?

I really really really really hope not, else the fact that nobody has
exploited the local.exec("rm -R ~/") bug yet is a miracle ::) In
general, applets cannot exec or fork, just call other local applets,
unless I'm wrong. In which case the last sentence should be ignored.

> 	PS:  There are many non-web ways of doing this, I realize... .

Sounds like you're just asking to make xmms open when you click on an
mp3 file. Easy enough through your browser's mime handlers, but we can
give you more specific advice for a more specific browser.

/Adam


- --
Adam Weinberger
adam@vectors.cx
adamw@FreeBSD.ORG

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE90fhLo8KM2ULHQ/0RAhHiAJ9XuD8T4M8kgKl5DyZxZN0xe832KgCaA1j/
b8z9LyJTCpv/48LivdNlz+8=
=3fEf
-----END PGP SIGNATURE-----

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?20021113065923.GY35297>