another method is to write a shell script to do the steps required

The problem I have is that I can't figure out how to restart the player binary from there anyway. I tried killing pid 1, but bad things happened -- I apparently ended up with two copies of the player running, which was very confusing.

Unless I can send keypresses as if over serial...?
-- roger