from playerdo.backends.base import Player
-from playerdo.utils import process_retval
+from playerdo.utils import process_retval
return ["The command line program 'shc', compiled from the shc.hs script that comes with shell-fm, needs to be present on your PATH."]
- # Can't implement 'play', because once you are stopped, shell-fm/shc needs
- # you to specify a station if you want it to play.
+ if not self.is_stopped():
+ raise PlayerException("Cannot play shell-fm when in a stopped state.")