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 < mpg
> 
> And in another shell
> echo "LOAD mp3file.mp3\n" > mpg
> 
> Unfortunately, the mpg123 quits immediately without any response...  In
> general, the idea sounds good, but there is still something uncompatible.

There's really no good reason that shouldn't have worked. I suggest you
find an mpg123 mailing list and ask them why that happened.

-Stut

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to