Sorry for taking so long to reply - got sidetracked...

Here's what I was noticing in my log (similar to what others
reported):

Code:
--------------------
    
  2006-07-01 15:59:22.8716 extracted: /music/Pink Martini/Sympathique/No Hay 
Problema.wma from 
file:///music/Pink%20Martini/Sympathique/No%20Hay%20Problema.wma
  Streaming: Launching mplayer -really-quiet -vc null -vo null -cache 128 -af 
volume=0,resample=44100:0:1,channels=2 -ao pcm:nowaveheader:file=/dev/fd/3 
/music/Pink Martini/Sympathique/No Hay Problema.wma
  
--------------------


What I did was change the $app invocation in the streaming section of
mplayer.sh to be massively quoted similar to the local file case. 

Before:

Code:
--------------------
    
  echo Streaming: Launching $app $* >&2
  (
  $app $* 3>&1 1>&2 & 
  echo $! > $apppid
  wait
  rm -f $apppid
  kill $scriptpid 2> /dev/null
  ) < /dev/null &
  
--------------------


After:

Code:
--------------------
    
  echo Streaming: Launching $app $* >&2
  (
  $app "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" "${10}" "${11}" "${12}" 
"${13}" 3>&1 1>&2 &
  echo $! > $apppid
  wait
  rm -f $apppid
  kill $scriptpid 2> /dev/null
  ) < /dev/null &
  
--------------------


With this it seems to work; files and directories with spaces play
fine.  Haven't tried the slimserver-convert.conf suggestions here.  

All that said, after a while, the server eventually hangs. Specifically
the mplayer process (when killing the server, all other processes exit
with just a "kill".  I need to kill -9 the mplayer process to get it to
die).  Haven't debugged it further.  Instead I started looking into
converting my collection to MP3 because I'm tired of WMA workarounds...


-- 
Rob McKaughan
------------------------------------------------------------------------
Rob McKaughan's Profile: http://forums.slimdevices.com/member.php?userid=526
View this thread: http://forums.slimdevices.com/showthread.php?t=25117

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to