02-22-2022, 09:46 PM
(02-22-2022, 09:18 PM)Tim Curtis Wrote: If only using MPD then one way to determine play state is via the command below.Hi Tim, thanks for your help. I will look into it - I'm quite new to this so I will see how to put something together in python or adapt some of the scripts suggested by swinokur
Code:# Playing
pi@moode:~ $ mpc status | grep playing
[playing] #50/50 0:10/0:39 (25%)
# Not playing
pi@moode:~ $ mpc status | grep playing
pi@moode:~ $