Re: load xmms config via php
Sean Walker <[email protected]>
| Newsgroups | gmane.comp.multimedia.xmms.devel |
|---|---|
| Message-ID | <[email protected]> |
adam wrote:
>hi,
>
>I am trying to launch xmms via php...using this command:
> exec('bash -c "xmms -p /home/adam/mp3/* > /dev/null 2>&1 &"');
>
>It loads ok, but because apache runs as www-data then xmms is unable to
>find the config as there is no ~/.xmms/config
>
>Is there anyway of forcing xmms to load a specififc config file, say in a
>local dir in the htdocs tree?
>
>adam
>
>
>
Couldn't you just add a home directory to the www-data user? I'm
assuming it doesn't have a home dir. Just edit you passwd file and give
it a location. Then create .xmms/config (copy yours) and it should be
fine. At least, I think it should be! :)
--Sean Walker
http://sean.surfmy.net/
http://sacwifi.net/