View Single Post
Posts: 557 | Thanked: 370 times | Joined on Apr 2010
#279
Originally Posted by No!No!No!Yes! View Post
Starting from this post there were some speculations on the matter and some scripts/command ... maybe it can help.
Ciao.
Thanks. Thread search for transmitter showed nothing and it wouldn't let me search FM.

For the record, this one works perfectly:

Code:
result=$( /usr/bin/fmtx_client -p$( /usr/bin/fmtx_client | /bin/grep -q '^state=enabled' ; echo $? ) | /usr/bin/awk -F '=' '($1=="state") {print $2}' ); echo $result; [ $result = "enabled" ]
Thanks to Patola for it! I was taking the stupid route of trying to use dbus.. when it was a much simpler command.
 

The Following User Says Thank You to IzzehO For This Useful Post: