If you're looking for command line control, MPD might be in your target zone. Use it with a client such as ncmpc or mpc or one of many other client options. MPD can be installed on a router, too, ...