Gabe, if you just type mpg123 from the command line (no params) do you get a blurb about "This version of mpg321 has been configured with alsa as its default. libao output device." If not then maybe you need to find a '-a' or '-o' option to make it point to alsa (mpg123 -o alsa FILENAME). I go out my digital so I know it CAN work. Your mplayer conf file is probably already setup with a proper '-ao' in its case. I also have an /etc/asound.conf instead of a .asoundrc file. Were you running your command as root or a user? If not root then try root. And verbose mode really makes it think it is playing?
<br><br>BTW, the following is a patch to mp3act to get stop/prev/next working in jukebox mode. This was required on my FC3 system. The output of 'ps' is different amongst distributions it seems.<br><br><br>[root@jules t]# diff -urN includes/mp3act_functions.php /var/www/html/mp3act/includes/
<br>--- includes/mp3act_functions.php 2005-08-02 08:50:50.000000000 -0400<br>+++ /var/www/html/mp3act/includes/mp3act_functions.php 2006-01-28 17:15:13.000000000 -0500<br>@@ -1369,15 +1369,20 @@<br> }<br> }<br>
function killCmd($cmd){<br>- $pids = shell_exec("ps A | grep '$cmd' | awk -- '{print $1}'");<br>+// exec("echo \"ps -Af | grep '$cmd' | awk -- '{print $1}'\" >>/tmp/mp3act-local.log 2>&1 ");
<br>+ $pids = shell_exec("ps -Af | grep '$cmd' | awk -- '{print $2}'");<br>+// exec("echo $pids >>/tmp/mp3act-local.log 2>&1");<br> $pids = explode("\n",$pids);<br>- exec("kill $pids[0] $pids[1] > /dev/null 2>&1 &");
<br>+// exec("echo '$pids[0]' '$pids[1]' >>/tmp/mp3act-local.log 2>&1");<br>+// exec("echo sudo kill $pids[0] $pids[1] >>/tmp/mp3act-local.log 2>&1");<br>+ exec("sudo kill $pids[0] $pids[1] >>/tmp/mp3act-
local.log 2>&1 &");<br> }<br><br> function playLocal($file){<br> $mp3player = getSystemSetting("mp3bin");<br> $command = "$mp3player ".escapeshellarg(stripslashes($file));
<br>- $pid = shell_exec("nohup $command > /dev/null 2>&1");<br>+ //$pid = shell_exec("nohup $command > /dev/null 2>&1");<br>+ $pid = shell_exec("nohup sudo $command >>/tmp/mp3act-
local.log 2>&1");<br> //setPid($pid);<br> //$tmp=exec("$mp3player ".escapeshellarg(stripslashes($file))." ");<br> }<br>@@ -1694,4 +1699,4 @@<br> return 1;<br> }<br><br>Along with the required sudoers entries.
<br><br><div><span class="gmail_quote">On 3/7/06, <b class="gmail_sendername">Gabe Rubin</b> <<a href="mailto:gaberubin@gmail.com">gaberubin@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
perhaps, I am just being dense here, but I am having a hard time<br>getting this to work. I know it is working somewhat because I can<br>stream, but cant use the jukebox mode (my reason for trying this). I<br>have installed mpg123, but when I call it from the command line with a
<br>mp3, it just looks like it is playing, but I hear nothing. This is<br>opposed to calling mplayer from the command line and giving it an mp3,<br>it plays fine. I tried changing mplayer to my player in the settings,<br>
but that does not work either.<br><br>What exactly am I supposed to give permissions to the audio device and<br>program? I have made it so anyone can execute mpg123, but given the<br>command line issue, i dont think this is my problem. I am running FC4
<br>with a SP/DIF output and ALSA if that helps.<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>