I'm working on a small program for my empeg, and part of it involves knowing what songs are marked for attention in a playlist, and being able to take action based on this. Either downloading the songs off the player, or noting their track and artist names (still deciding that one).

Anyone know what the easiest way from a CLI interface only to detect this information?

Thanks