I want to use the MyBook running Firefly to stream music to my Soundbridge. The music files are stored as FLAC. Everything works fine (this means, firefly transcodes the FLACs to wav and streams them to the soundbridge), as long as I start firefly by hand from a terminal. But when I start it as a daemon from an init-script in init.d, the transcoding fails.
The problem seems, that Firefly calls
flac —silent —decode —stdout "$FILE" | $wavstreamer -o $OFFSET $FORGELEN
in order to transcode the files, but when I start it as a daemon, there is no proper stdout defined.
It would be nice, if someone knows a workaround to this problem.