this produces two mms: urls, as expected... I clicked the 2nd one and got just a little bit of choppy sound, so I gave up and played something from my local media collection. Unfortunately, the spawned mplayer process kept on trucking for a few hours, downloading merrily :) I seem to recall this is architecturally unavoidable, is that right?
If you are streaming a remote stream mplayer should die when you stop the player or move onto the next track in the playlist. Is this repeatable?
[EMAIL PROTECTED] jack]$ ps aux | grep mplayer jack 30474 0.0 0.0 1756 620 pts/2 R+ 21:14 0:00 grep mplayer
In webUI, play this .pls: [EMAIL PROTECTED] jack]$ cat /usr/local/slimserver/playlists/kfog.pls [playlist] numberofentries=1 Title=KFOG File1=http://www.streamaudio.com/stations/asx/KFOG_FM.asx
[EMAIL PROTECTED] jack]$ ps aux | grep mplayer
539 30476 0.0 0.1 2828 1396 ? S 21:14 0:00 sh -c "/usr/local/slimserver/Bin/mplayer.sh" -really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -aofile /dev/fd/3 "mms://66.28.253.171/KFOG_FM" | "/usr/bin/lame" --silent -q 9 -b 320 - -
539 30477 0.1 0.1 2832 1452 ? S 21:14 0:00 /bin/sh /usr/local/slimserver/Bin/mplayer.sh -really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -aofile /dev/fd/3 mms://66.28.253.171/KFOG_FM
539 30479 0.0 0.1 2320 1204 ? S 21:14 0:00 /bin/sh /usr/local/slimserver/Bin/mplayer.sh -really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -aofile /dev/fd/3 mms://66.28.253.171/KFOG_FM
539 30481 67.0 0.7 26616 6532 ? S 21:14 0:10 mplayer -really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -aofile /dev/fd/3 mms://66.28.253.171/KFOG_FM
539 30518 0.0 0.6 25928 5560 ? S 21:15 0:00 mplayer -really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -aofile /dev/fd/3 mms://66.28.253.171/KFOG_FM
jack 30539 0.0 0.0 1756 620 pts/2 R+ 21:15 0:00 grep mplayer
very choppy, probably one second of sound for every twenty of wall time.
hit next in WebUI to go to second mms track...
[EMAIL PROTECTED] jack]$ ps aux | grep mplayer
539 30562 0.0 0.1 2828 1396 ? S 21:17 0:00 sh -c "/usr/local/slimserver/Bin/mplayer.sh" -really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -aofile /dev/fd/3 "mms://66.250.188.22/KFOG_FM" | "/usr/bin/lame" --silent -q 9 -b 320 - -
539 30563 0.0 0.1 2832 1452 ? S 21:17 0:00 /bin/sh /usr/local/slimserver/Bin/mplayer.sh -really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -aofile /dev/fd/3 mms://66.250.188.22/KFOG_FM
539 30565 0.0 0.1 2320 1204 ? S 21:17 0:00 /bin/sh /usr/local/slimserver/Bin/mplayer.sh -really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -aofile /dev/fd/3 mms://66.250.188.22/KFOG_FM
539 30567 46.1 0.7 26616 6564 ? S 21:17 0:10 mplayer -really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -aofile /dev/fd/3 mms://66.250.188.22/KFOG_FM
539 30570 0.0 0.6 25928 5584 ? S 21:17 0:00 mplayer -really-quiet -vo null -cache 128 -af resample=44100:0:1 -ao pcm -aofile /dev/fd/3 mms://66.250.188.22/KFOG_FM
jack 30580 0.0 0.0 1756 620 pts/2 R+ 21:17 0:00 grep mplayer
same stuff, different IPs. Even less sound making it through to the speakers. Try to browse to something local, and the Slimp3 starts going nuts.
[EMAIL PROTECTED] jack]$ w
21:19:48 up 75 days, 4:31, 1 user, load average: 3.68, 1.03, 0.34
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
jack pts/2 21:12 0.00s 0.06s 0.03s w
[EMAIL PROTECTED] jack]$ tail /tmp/slimserver.log
frame 16: main::main (/usr/local/slimserver/slimserver.pl line 1124)
unknown object file object, packet length = 1819 (1819) unknown object stream object, stream id: 1 unknown object unknown object data object mmst packet_length = 1819
[EMAIL PROTECTED] jack]$ sudo service slimserver stop [EMAIL PROTECTED] jack]$ ps aux | grep mplayer | wc -l 169
Thank goodness for pkill :)
-- Jack at Monkeynoodle dot Org: It's a Scientific Venture... Riding the Emergency Third Rail Power Trip since 1996! _______________________________________________ Discuss mailing list Discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss