This should not be too difficult to implement, only limitation is that you can not repeat an alarm like this. So what I have in mind is that if you specify a single shot alarm (Day is set to Once) and the action is Stop that you can only specify a minute value. This is then the number of minutes till playback stops. Doing it this way prevents the addition of yet another setting.