You are here: Home » Reply

Reply To: Soundbridge problem: Cannot play"xxxxxx"

#9293

rpedde
Participant

@jw2k_fr wrote:

I can’t see anything obvious in the way of an error. Anything I can try?

Thanks again

James

I don’t see anything obvious, either. Only think I can guess is that the transcoding script isn’t working. You can try reading the file with vlc or something… with vlc, do an “open location” and use:

http://server:port/rsp/stream/2

as the path. See if it plays.

Probably won’t. Next step would be to try and run the command the server is running from the console of the machine itself:


# /usr/bin/mt-daapd-ssc.sh "/mnt/music/AC-DC/Live/01. Thunderstruck.flac" 0 394.706 "flac"

You should get a stream of crap to the console — a wave file.

If not, check to make sure you have the “flac” binary somewhere. That’s what it uses to transcode, so no flac = no transcode.

Also, sometimes the daemon environment is different than the console environment, so it might make sense to edit the mt-daapd-ssc.sh script and put in full paths to the files in the first couple lines… so rather than:

$FLAC=”flac”

change it to

$FLAC=”/usr/bin/flac”

and so on, for hte other files in the header (for those you ar transcoding, anyway). See where that gets you.

— Ron