Jul wrote:
> Hi, folks!
>
> I'm using piCorePlayer since the first versions and it's just a great
> distrib.
> I extended my install step by step and I now have a 7" touchscreen and a
> Hifiberry DAC+ linked to active speakers.
> When you added the -G option to power on/off a GPIO pin, I bought a
> small relay board and I can now power my speakers automatically. Many
> thanks for this option!
>
> But (because there is always a "but" :D ), when I enable -C option (ie.
> idle time before Squeezelite closes output) at the same time (for
> instance with 30 seconds), I have a strange behaviour:
> GPIO pin is powered off an on very quickly for every action (changing
> radio station, clicking slider to go forward/backwards...). So the relay
> is enabled/disabled every time and the speakers too, which I think is
> not very good for them.
>
> Can the options -C and -G be used simultaneously?
>
> Thanks in advance for your help.
>
> Jul
ralphy wrote:
> I can confirm that -S and -G are "ignored", and no errors thrown, when
> you also include -C.
> For -G the gpio is never initialized or toggled and for -S the script is
> never called.
> I'll look into it.
When using -C with either -S or -G the gpio subsystem was not
initialized until the first track was played, so the pins could float
H/L until then.
I've uploaded a build to the beta files area for you to try. Don't
forget to disable the powersave plugin first, if you're still using it.
Stop squeezelite from the web gui, then ssh into pcp and install the
test squeezelite build.
Code:
--------------------
cd /mnt/mmcblk0p2/tce
wget -O squeezelite-armv6hf
http://downloads.sourceforge.net/project/picoreplayer/beta/squeezelite-armv6hf-noffmpeg
chmod 775 squeezelite-armv6hf
--------------------
Update squeezelite settings and restart squeezelite.
Ralphy
*1*-Touch, *5*-Classics, *2*-Booms, *1*-Reverted UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=105018
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix