controlling a gpio with either playstate or a button at the purchaser?

Take a look at the Plugins category what you seek you shall find there :wink:

There are quite a few ways to achieve what you want - there are either general GPIO control plugin, or a more purpose specific one aptly named: