2013-02-12, 07:41
OK, this may be working. At least it's worked for one reboot. In the file /usr/bin/xbmc using the latest xbmcbuntu install plus a nightly build I inserted the following line:
/usr/local/bin/squeezeslave.sh &
before
"$LIBDIR/xbmc/xbmc.bin" $SAVED_ARGS
which is down near the bottom of the script.
I chose to use a script for squeezeslave in case I needed to add a delay so that xbmc could query the audio device first. Right now I have a 30 second delay in there, I don't know if it's needed or not, but I'm tired of dealing with this for now. At this point I've played audio via squeezeslave and video via xbmc, and cycled back and forth between them a few times, and it worked fine.
As I said, I'm using the asound.conf in my first post, and I set the rate to 44100, which is probably a requirement based on my hardware.
/usr/local/bin/squeezeslave.sh &
before
"$LIBDIR/xbmc/xbmc.bin" $SAVED_ARGS
which is down near the bottom of the script.
I chose to use a script for squeezeslave in case I needed to add a delay so that xbmc could query the audio device first. Right now I have a 30 second delay in there, I don't know if it's needed or not, but I'm tired of dealing with this for now. At this point I've played audio via squeezeslave and video via xbmc, and cycled back and forth between them a few times, and it worked fine.
As I said, I'm using the asound.conf in my first post, and I set the rate to 44100, which is probably a requirement based on my hardware.