[MPlayer-users] [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory

Jim Cross jimgcross at gmail.com
Mon Oct 27 17:19:01 CET 2014


I've restarted the web server and it appears to be working. A bit strange,
could be finger trouble but will do more testing.
Thanks for your help.

On Mon, Oct 27, 2014 at 3:48 PM, Jim Cross <jimgcross at gmail.com> wrote:

> Thanks again Erik. I'll take a closer look but for now something is not
> quite right as the web server still sends MPLAYER_HOME=/var/www/.mplayer
> (copied below), which worked before:
>
> User: www-data
> <br>
> Env variables: SERVER_SOFTWARE=lighttpd/1.4.31
> SERVER_NAME=192.168.1.8
> GATEWAY_INTERFACE=CGI/1.1
> SERVER_PROTOCOL=HTTP/1.1
> SERVER_PORT=80
> SERVER_ADDR=0.0.0.0
> REQUEST_METHOD=GET
> REDIRECT_STATUS=200
> QUERY_STRING=
> REQUEST_URI=/cgi-bin/test.py?
> REMOTE_ADDR=192.168.1.14
> REMOTE_PORT=58375
> CONTENT_LENGTH=0
> SCRIPT_FILENAME=/var/www/cgi-bin/test.py
> SCRIPT_NAME=/cgi-bin/test.py
> DOCUMENT_ROOT=/var/www/
> HTTP_HOST=192.168.1.8
> HTTP_CONNECTION=keep-alive
>
> HTTP_ACCEPT=text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
> HTTP_USER_AGENT=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
> (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36
> HTTP_REFERER=http://192.168.1.8/test.html
> HTTP_ACCEPT_ENCODING=gzip,deflate,sdch
> HTTP_ACCEPT_LANGUAGE=en-GB,en-US;q=0.8,en;q=0.6
> MPLAYER_HOME=/var/www/.mplayer
>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
> <br>
> home dir is: /var/www<br>
>
> On Mon, Oct 27, 2014 at 3:28 PM, Erik Auerswald <
> auerswal at unix-ag.uni-kl.de> wrote:
>
>> Hi Jim,
>>
>> On Mon, Oct 27, 2014 at 02:17:50PM +0000, Jim Cross wrote:
>> > Hi Erik, many thanks for the prompt reply - and that's the answer!
>> Saved me
>> > waiting around for four hours :) (lots of beer 4 u)
>>
>> ;-)
>>
>> > The answer being the config file.... However...
>> > The previous (and old) MPlayer ver I had installed using 'sudo apt-get
>> -y
>> > install mplayer'. This appears to pickup the web server created user
>> > 'www-data' and I believe MPlayer auto created the .mplayer dir in
>> > '/var/www/' (with an empty conf).
>> > The 'however', the new ver (using svn and make)  probably doesn't?
>> > Part of my build is to set the conf file in this dir (/var/www/.mplayer,
>> > with 'ao=alsa,pulse,sdl:aalib' - as it appeared to be working I didn't
>> > look any further until you mentioned the conf file - THANKS.
>> > Although I can edit the 'installed mplayer' user 'pi' conf file
>> (~/.mplayer
>> > - and obviously it works), my preference is to control files in the web
>> > server users directory (/var/www/). Is there a way to get mplayer to
>> pickup
>> > the www-data users dir /var/www/ and register the .mplayer dir there?
>> > (I know I can edit mplayers global file but don't want to do that
>> either...)
>>
>> You can use mplayer's -include option, or you can use the MPLAYER_HOME
>> environment variable (see the MPlayer man page for details).
>>
>> Cheers,
>> Erik
>> --
>> I do like the 24 hour a day development process. I can describe a
>> problem, go to sleep, and have the answer in my mailbox with my first
>> cup of coffee.
>>                         -- Dave Täht
>> _______________________________________________
>> MPlayer-users mailing list
>> MPlayer-users at mplayerhq.hu
>> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>>
>
>


More information about the MPlayer-users mailing list