Quote Originally Posted by arkadi58

I am trying to run squeezelite on my HTPC, an AMD Fusion system with
xubuntu and xbmc. Output is through SPDIF, as the catalyst driver
doesn't support HDMI well enough. I can get xbmc to release the audio
device (CARD=Generic,DEV=1) when idle with the streamsilence advanced
setting, but the other way around?
It looks like squeezelite never releases the audio device, even when
idle. If I start squeezelite before xbmc, xbmc doesn't even show the
digital output device in the system settings. If I start xbmc first, let
it release the audio device, then start squeezelite, xbmc no longer
functions as it seems to wait forever to reacquire the device.

Could squeezelite release the device when idle (or when soft powered
down)? or is there another way to solve the problem. What I want to do
is use my box as a squeeze player when it is idle. I don't necessarily
need XSqueeze, as i control it from the LMS web interface or one of the
controller apps on a tablet.

Roman

Triode wrote: 
> It should release the device when soft powered off from the web
> interface or other controller.  If you want to start squeezelite in this
> condition then you need to use the -r option so that it does not open
> the device to find the max sample rate.

Hi

I am trying to setup XBMC (OpenElec) and SqueezeLite to use / share the
same HDMI audio port, but so far I am unable to do it. 

When I try and run SqueezeLite in terminal it says:

/storage/.xbmc/userdata/squeezelite/squeezelite-x86-64 -o
hdmi:CARD=PCH,DEV=1 -m 00:00:00:00:00:fe
[15:32:54.302558] test_open:124 playback open error: Device or resource
busy
[15:32:54.302620] output_init_common:365 unable to open output device

Then I saw the above post by Roman trying to setup a similar thing, I
have added the <streamsilence>1</streamsilence> to my XBMC advanced
settings file. I am now trying to run Squeezelite with the -r switch,
but I must have the syntax wrong as it always says: -sh: syntax error:
unexpected redirection no matter what I try.

These are the rates the HDMI port supports:

<32000>,<44100>,<48000>,<88200>,<96000>,<176400>,<192000>

How do I use the -r switch correctly? 

Thank you.


------------------------------------------------------------------------
cw-kid's Profile: http://forums.slimdevices.com/member.php?userid=50737
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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

Reply via email to