Max2Play Home › Forums › Max2Play on Raspberry PI › -G : not working
Tagged: GPIO; -G
- This topic has 4 replies, 2 voices, and was last updated 5 years ago by
Heiner premium.
-
Posted in: Max2Play on Raspberry PI
-
20. September 2018 at 18:32 #37954
Hello,
I urgently would need the option
-G <Rpi GPIO#>:<H/L>
Specify the BCM GPIO# to use for Amp Power Relay and if the output should be Active High or LowBut when I set it for my max2play squeezelite player in the options settings, the service is not starting anymore.
I only get the Error messageVersucht zu starten … NICHT Erfolgreich Hier klicken für weitere Informationen
Option error: -G
Squeezelite v1.8.3-718, Copyright 2012-2015 Adrian Smith, 2015-2016 Ralph Irving. See -t for license terms
What can I do to use this parameter=?
Thnaks Erich
21. September 2018 at 11:03 #37964Hi Erich,
Your info in the yellow text should be more detailed.
The parameter should look like this (if you want to mute the output of AMP2):
-G 4:L
After saving, check the yellow text if it says „Error in GPIO Pin assignment.“
21. September 2018 at 21:57 #38005the error message was only like I wrote – see screenshot
But when updating max2play as well as the Player, now I can save the -G Option & start the Service 🙂
So solved – thX
22. September 2018 at 12:56 #38007edit – When starting the Player, the GPIO gets like expected „High“ – but when pausing, it doesn`t get „Low“ 🙁
Only when turning the Player off, also the Pin gets Low.Is there a way to auto turn off the Player when pressing pause=?
Or is there a plugin available to run a script on pause? – if not how could I write a hook?25. September 2018 at 10:46 #38017Hi eriche,
The parameter
-C <seconds>
automatically disengages the output device after playback is paused for a few seconds. -
You must be logged in to reply to this topic.