[Alsaplayer-devel] daemon interface not working

Dominique Michel dominique.michel at citycable.ch
Fri Mar 2 08:32:24 GMT 2007


Le Fri, 02 Mar 2007 00:08:07 +0100,
Jan Willies <jan at willies.info> a écrit :

> Hello,
> 
> I have trouble to get the daemon interface to work. It plays well with 
> text interface though. I tried both, 0.99.77 and svn. Here's the output 
> (although not very helpful?):
> 
> server:/usr/local/src/alsaplayer-0.99.77# alsaplayer --verbose -i daemon 
>   some.mp3
> AlsaPlayer 0.99.77
> (C) 1999-2004 Andy Lo A Foe <andy at alsaplayer.org> and others.
> Output plugin: OSS output v1.0
> Loading reader plugin: File reader v1.1
> Loading reader plugin: HTTP reader v1.3
> Loading Input plugin: WAV player v1.01
> Loading Input plugin: MAD MPEG audio plugin v1.01
> Loading Input plugin: Ogg Vorbis player v1.2
> Loading Input plugin: flac player v1.2
> Loading Input plugin: CDDA player v1.2
> Interface plugin: DAEMON interface v1.1
> Session "alsaplayer-0" is ready.
> 
> And that's it. No sound, no further messages. I'm using it with a dxr3 
> and oss output.
> 
> regards,
> jan
> 
> PS. Nice to see some development here again! Keep up the good work
> 

You cannot load directly a file when you start the daemon. 
First, you start the daemon.
After, you issue commands to the daemon in order to control it.

A non documented feature of the the daemon interface is at you have to use the
-s <name> parameter when starting it, otherwise one threads get zombified at the
end of each song.

1)
alsaplayer --verbose -i daemon -s somename

2)
alsaplayer -e some.mp3

Ciao,
Dominique



More information about the alsaplayer-devel mailing list