Support snoozing a started application

Registered by Johannes H. Jensen

It would be nice to be able to snooze an application launched by the alarm. This would be possible for the stock media players by creating a table of 2 commands for each app: One for starting and one for stopping.

There has been some work on creating a common D-Bus interface to control media players, but no such system exists yet. See http://wiki.videolan.org/DBus-spec for more info.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Medium
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

This can be implemented as follows:
- Add an extra gconf key 'command_stop' which should contain a command which 'undoes' the alarm command.
- By default, if there is no 'command_stop' available, we could store the pid of the command we executed and try stopping/killing it on snooze. This wouldn't have any effect on most media player commands as they exit as soon as they've told the real media player process to start playback.
- This must be added to the Edit alarm dialog without making it overly complicated for the user. The 'command_stop' text entry could for example appear if snooze is enabled, and hidden otherwise.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.