slartibartfast wrote: 
> Interesting, where did you put that command? How does it determine that
> music is playing?
> 
> Sent from my Pixel 3a using Tapatalk

The command(s) in question:


Code:
--------------------
    while true; do echo "$(date)" > "<PROBLEM_DRIVE>/keepawake.txt"; sleep 120; 
done &
--------------------


The simple answer is that I run that command manually whenever I start
to work with files on a network HDD. The command runs in the background,
so when the work is finished, I recall it to the foreground and kill it
with CTRL-C.

The more complicated answer is that it used to be part of an elaborate
shell script that runs on the LMS server and extracts current Now
Playing information for for "disc jockey" displays that show the current
time, temperature and what's playing at several locations around the
house. I now know that there are easier ways to get that information
through plugins, but I was unaware of what could be done with plugins
when I wrote it.



LMS 8 nightly; 3 Squeezelite players connected by powerline ethernet; 5
wireless players connected via Airplay Bridge; 1 SqueezeAmp player
no high-end or esoteric audio gear
1 Squeezebox Radio (upgraded UE Smart Radio) now mostly retired
------------------------------------------------------------------------
RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008
View this thread: http://forums.slimdevices.com/showthread.php?t=112723

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to