The mp3->flac rule doesn't seem to work right. To make sure it is
invoked you have to disable native mp3 in which case it seem to break
playing mp3 files/streams on hardware players.

I also think the problem with playing MP3 files may be associated with
mplayer.sh not being able to handle filename with blanks in the name.

I think the following is a better solution.

1. Use the following MP3->MP3 rule just for squeezeslaves instead of
the MP3 Flac. I only tested with a specific MAC for a SoftSqueeze but I
presume the squeezeslave device type works.

Code:
--------------------
    
  
  mp3 mp3 squeezeslave  *
        # F:{PATH=%f}R:{PATH=%F}T:{START=-ss %s}U:{DURATION=-endpos %w}
  [mplayer.sh] -really-quiet -vc null -vo null $START$ $DURATION$ -cache 128 
-af volume=0,resample=44100:0:1,channels=2 -ao pcm:file=/dev/fd/3 $PATH$ | 
[lame] --silent -q $QUALITY$ $BITRATE$ - -
  
  
--------------------


2.  Change the 2 occurrances of $* in mplayer.sh to "$@" you must
include the quotation marks.


-- 
bpa
------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=63259

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

Reply via email to