On Sat, August 5, 2006 8:08 am, Ville Mattila wrote:
> I have been thinking of making a simple web-based interface to control
> my media center box (running debian linux). Being a bit enthustiatic,
> I
> thought I could use some generic tools for playing media files and
> write
> the whole UI by my
Ville Mattila wrote:
> Hello readers,
>
> I have been thinking of making a simple web-based interface to control
> my media center box (running debian linux). Being a bit enthustiatic, I
> thought I could use some generic tools for playing media files and write
> the whole UI by my own.
>
> I fou
Ville Mattila wrote:
> Stut kirjoitti:
>> 1) Find out how to create a named pipe and start mpg123 to take its
>> input from that named pipe. Your PHP scripts can then write commands to
>> that pipe.
>>
>
> Thanks Stut, rather good idea... I tried following commands:
>
> mkfifo mpg
> mpg123 -R
Stut kirjoitti:
1) Find out how to create a named pipe and start mpg123 to take its
input from that named pipe. Your PHP scripts can then write commands to
that pipe.
Thanks Stut, rather good idea... I tried following commands:
mkfifo mpg
mpg123 -R < mpg
And in another shell
echo "LOAD mp3
Ville Mattila wrote:
> How could I use PHP and its process functions to send something to stdin
> of a persistent process? I would like to run mpg123 only once,
> whichafter a few PHP scripts would send data and proper commands to its
> stdin. Maybe a kind of daemon process would be needed? Anyway,
5 matches
Mail list logo