Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: LED indicator to show when music is playing
#5
(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.

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:~ $
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
Reply


Messages In This Thread
RE: LED indicator to show when music is playing - by seipersei - 02-22-2022, 09:46 PM

Forum Jump: