TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: THE NATURAL PHILOSOPHER
from: A. DUMAS
date: 2019-05-25 12:30:00
subject: Re: BBC Radio on omxplaye

The Natural Philosopher wrote, on 25-05-2019 10:24:
> Very similar to me.
> Except I use mpg123...and PHP and C code ! :-)

Ah yes, saw your reply after I posted. My web page uses ajax in
javascript to call a php script which calls a bash script which calls
mpc which calls mpd.... and the result gets displayed on the web page.

Crucial step to get it working was to grant permission to the web server
user www-data to call the bash script (and a scheduler, and shutdown; so
I guess that might be a huge gaping security hole now, or at least a
very promising new attack vector): sudo visudo and add a line.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.