mlissner Posted October 6, 2008 Share Posted October 6, 2008 I imagine this comes up a lot, but I can't quite get it to work, and searching has thus far come up dry. I'm trying to create a website front end for a jukebox, and I would like to use mplayer as my backend. I thought I might be able to use exec to get this job done, passing it the mplayer command, but it's not working. I imagine this is probably a security measure (which is good), but I wonder what the best way to get it to work would be? I am running this on an Ubuntu server, and have added www-data to the audio group (which helped, but not enough). Thanks. Link to comment https://forums.phpfreaks.com/topic/127194-exec-mplayer/ Share on other sites More sharing options...
trq Posted October 6, 2008 Share Posted October 6, 2008 You would be much better off using a player that doesn't try to invoke a gui. Link to comment https://forums.phpfreaks.com/topic/127194-exec-mplayer/#findComment-657937 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.