Re: cvs: pear /XMMS gtkxmms php_xmms.h xmms.c xmms.glade

From: Date: Fri, 10 Aug 2001 01:43:17 +0000
Subject: Re: cvs: pear /XMMS gtkxmms php_xmms.h xmms.c xmms.glade
References: 1  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-454@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote: > > > Rasmus Lerdorf wrote: > > > > > > rasmus Thu Aug 9 20:36:51 2001 EDT > > > > > > Modified files: > > > /pear/XMMS gtkxmms php_xmms.h xmms.c xmms.glade > > > Log: > > > Add code to allow you to turn the main xmms window, playlist and equalizer > > > windows on and off. Add checkboxes in gtkxmms to test. > > > > > > > I've tried this "release", a really strange extension :) So basically is > > a player but also acts as a remote controler for xmms? Nice to see those > > php-gtk apps in my desktop. > > One suggestion... it could be cool if you can provide some > > methods/functions to work with mp3s from php, things like mp3 to wav, > > extract id3-tags info, etc. > > The goal here isn't really to make it a desktop player. I just figured I > would play around with php-gtk and glade and try to build a desktop player > to make sure the underlying extension code was flexible enough. The > php-gtk/glade part of things literally took me only about 2 hours to write > and that was starting from knowing absolutely nothing about gtk stuff. > > As for id3 tags. Can't the iptc functions do these? I haven't looked > into it, but it is definitely on my list. I am not sure file conversion > from mp3 to wav is something that makes sense in php-space at all. Unless > of course there is a clean C library implementation that does this, then > writing a thin PHP wrapper for it is rather trivial. xmms has a "disk writer" output plug-in, so you can convert all the formats supported by xmms to wav. About the php-space, don't think it's very far. Two weeks or so ago I wrote what I called a "hear the web" system. It's a technology mix for building a text-to-speech system over the web. What I done was: get the text, convert it to speech (wav format) with Festival, encode and resample the wav with lame or xing, encapsulate the mp3 with ming in a flash movie and output the result to the browser. For me having php mp3 handlers solves a lot of problems. > The real goal is to have this xmms extension work as an extension under > Apache on small embedded Linux devices hooked up to stereos and then you > can write cool little web interfaces to control your stereo. If you look > at the extension from that perspective it isn't so strange. At least I > don't think it is. Sure, I want to see it! :) Tomas V.V.Cox

« previous php.pear.cvs (#454) next »